DataGrid: How to filter displayed rows?
Posted: Mon Jun 09, 2014 5:13 pm
I have my master data table in a DataGrid on the main card.
On each of the subsequent cards, I need to display a different subset of this information: selected rows (records) and selected columns.
I don't want to create different DataGrids (because I need "edit anywhere, update everywhere"), but use the same DataGrid displayed differently on different cards.
I see that it is easy to select a subset of columns: simply
set the dgProp["columns"] of group myDataGrid to myColumnSubset
I don't see a corresponding simple way to filter the rows displayed.
The rows can be filtered, for example, by a value (or values) in a column.
I have waded through the manual, and searched this forum (due diligence
), but no luck.
Any ideas?
As an aside, we need to create a sub-board for DataGrid and move all the relevant messages there! It is a complicated subject.
Thanks,
Sri.
On each of the subsequent cards, I need to display a different subset of this information: selected rows (records) and selected columns.
I don't want to create different DataGrids (because I need "edit anywhere, update everywhere"), but use the same DataGrid displayed differently on different cards.
I see that it is easy to select a subset of columns: simply
set the dgProp["columns"] of group myDataGrid to myColumnSubset
I don't see a corresponding simple way to filter the rows displayed.
The rows can be filtered, for example, by a value (or values) in a column.
I have waded through the manual, and searched this forum (due diligence

Any ideas?
As an aside, we need to create a sub-board for DataGrid and move all the relevant messages there! It is a complicated subject.
Thanks,
Sri.