Hi there,
I have an application which has one listGrid and a DynamicForm . both of these 2 copmonent have their own datasource. I want to refresh my listGrid records after changing in the form but when I user list.updateData() or list.setData()
it doesn’t work correctly
please help me in these matter
Hi incredi,
I’m sure this is simple to solve, but we’re not entirely clear on what you’re trying to achieve here. Some questions:
- Are the ListGrid and the DynamicForm bound to the same dataSource?
- Is the DynamicForm being used to edit a record from the grid, or as a filter form (setting criteria for the ListGrid’s filter operations)?
Note: Our SDK contains various examples of how databound forms and ListGrids work. The showcase application (also available in our live site demos here) demonstrates how to set the filter criteria for a grid in a SearchForm and re-filter based on those criteria, and how to edit an existing record and save changes (at which point the listGrid automatically updates to show the changes).
We’d recommend taking a look at those examples to see how these common patterns should be implemented.
Thanks
Isomorphic Software