Issue with DbAdvGrid when PostMode is epRow

Hi,
I have an issue with DbAdvGrid when mixing TField.OnvalidateEvent and the epRow PostMode on the grid.

To reproduce:
- Hook a DbAdvGrid to a dataset (I'm using FireDac)
- Add goEditing to the grid to allow edition
- Add an OnValidate event on one of the field of the dataset. (simply call abort in the event)
- Change grid PostMode to epRow.
- Run the projet and try editing the column with the OnValidate event. The grid will end up stuck in read only mode. (this doesn't happen when PostMode is epCell.

Is this something that can be fixed please?

Also, another question following my last post about TDBAdvGrid.FixedFont not being taken into consideration for a DbAdvGrid . Is there a way to change the default header font used by the columns?

Thanks

Hi,

any news?

Thanks

Hi,

small update. Calling Abort in the BeforePost event of a dataset has the same problem.

Any update would be appreciated.

Thanks

Sorry for spam, please disregard my last reply. It seems to work for the BeforePost event. I had a bad test case.


Still have issue with OnValidate though.

Hi, any news?

Did you have time to investigate?

Thanks

If per cell validation is needed, it is expected that EditPostMode = epCell.