I'm trying to add filtering to a TreeGrid by extending your "Load from Local Data" example from your showcase. However, I'm getting a JavaScript exception. It seems the client is getting a datasource, but no datasource has been specified in this example of "loading from local data."
I added the following code:
The logs show the following exception:
MY CONFIGURATION:
smartgwtpower-3.1d Deployment 2012-11-08
GWT 2.4.0
I added the following code:
Code:
. . . field.setCanSort(false); [B] // FILTER field.setCanFilter(true); treeGrid.setFilterLocalData(true); treeGrid.setShowFilterEditor(true); [/B] treeGrid.setFields(field); . . .
Code:
Uncaught JavaScript exception [TypeError: this.getDataSource() is undefined] in http://127.0.0.1:8888/performances/sc/modules/ISC_DataBinding.js, line 1906
MY CONFIGURATION:
smartgwtpower-3.1d Deployment 2012-11-08
GWT 2.4.0
Comment