Hello,
I am making a UI with a TreeList, where the user selects a node. This does filtering a ListGrid.
The following happens, if ListGrid.autoFetchData: false, fetchData in TreeList.nodeClick does not work. Always loads complete records of the ListGrid data source.
Instead, if ListGrid.autoFetchData: true, it shows all records at first, then when selecting any node apply ListGrid.fetchData ({myField: myNewValue}). This filter is setted in TreeGrid.nodeClick,
It is possible, I think so, at the beginning the ListGrid does not show records and then load the records according to a filter (I am using the fetchData function. See above) setted in the TreeList nodeClick event.
Any suggestion?
brgds
I am making a UI with a TreeList, where the user selects a node. This does filtering a ListGrid.
The following happens, if ListGrid.autoFetchData: false, fetchData in TreeList.nodeClick does not work. Always loads complete records of the ListGrid data source.
Instead, if ListGrid.autoFetchData: true, it shows all records at first, then when selecting any node apply ListGrid.fetchData ({myField: myNewValue}). This filter is setted in TreeGrid.nodeClick,
It is possible, I think so, at the beginning the ListGrid does not show records and then load the records according to a filter (I am using the fetchData function. See above) setted in the TreeList nodeClick event.
Any suggestion?
brgds
Comment