Hi,
Suppose that:
- I've got a ListGrid and a (details) DynamicForm connected to the same DataSource; typical Master/Detail situation.
- A filter is applied in the list grid by using fetchData(criteria) and a record is selected.
- I change the record in the details form so that it does NOT match the list criteria anymore, and save.
- The DB is correctly updated and thanks to SGWT magic it's also automatically removed from the grid
My problem is the following: how can I be notified of the removal from the list grid ? I would have expected at least a SelectionChanged event (which is true) ? Anything else ? I need this in order the clear the details form when the viewed record simply was removed from the list because of a filter.
Thanks for your help,
Thomas
PS: SmartGWT 4.0p
Suppose that:
- I've got a ListGrid and a (details) DynamicForm connected to the same DataSource; typical Master/Detail situation.
- A filter is applied in the list grid by using fetchData(criteria) and a record is selected.
- I change the record in the details form so that it does NOT match the list criteria anymore, and save.
- The DB is correctly updated and thanks to SGWT magic it's also automatically removed from the grid
My problem is the following: how can I be notified of the removal from the list grid ? I would have expected at least a SelectionChanged event (which is true) ? Anything else ? I need this in order the clear the details form when the viewed record simply was removed from the list because of a filter.
Thanks for your help,
Thomas
PS: SmartGWT 4.0p
Comment