Grid
Printable View
Grid
Then click() should be called when the selected row changes.
Hi Barry,
It does, but Hank needs an event that fires for a child grid as he moves through the parents. Parentdatachanged() fires before the new child is selected, so can't be used to pick up the child value (first row in child grid).
Thanks,
Yvonne
This was the "change" put in for cory who did not want rows to be selected... This has had a side effect of there being no current row highlighted.
Is dataChanged not fired on the child after it has its related records refreshed when the parent changes?
Hi Hank,
The 'Change' (xxx_changed()) delegate is called when a record is modified - after 'After Data Update' (xxx_afterupdate()).
The 'After Data Changed' (xxx_datachanged()) delegate is called on Form Sections after the data is read - as you move through the records.
Regards,
Yvonne
Thats correct behavior.
This allows you to alter what appears in the child. It is typically used with Virtual Tables to relate SQL data sources with requery().
dataChanged doesn't appear to be firing on Grids at all.
Haha not at all.