|
#1
|
|||
|
|||
|
Unfortunately it seems that in order to use a FilterBuilder on ListGrid, you are required to tie the grid to a datasource. What if I have already loaded data into my grid via setData(...) and just want to filter the content rather than issue a new call to the datasource? I tried to look into subclass ListGrid but is unable to find a isVisible(Record ...) or render(Record ...) or similar cthat I can override.
Any suggestions? |
|
#2
|
|||
|
|||
|
Instead of loading data directly into the grid, create a client-only datasource and load it the same way. This way you get all the benefits of a datasource AND your personal loading style. Datasources are a key component of the features and flexibility of SGWT.
|
|
#3
|
|||
|
|||
|
Quote:
Yeah I understand that, unfortunately it's not really an option as this grid is a slave to another grid (master-detail) and I already have all the data client-side. |
|
#4
|
|||
|
|||
|
Why can't you push the client-side data into a client-only data source and then assign it to the grid? Perfectly normal way to do things when a server connection is not needed or wanted.
|