Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Live Filter on a ListGrid question

$
0
0
Is it possible to use a Live Filter on a ListGrid that is grouped and enabled for drag and drop? The ListGrid is not backed by a DataSource, it is set initially with a set of records, and then the user can drag and drop to another ListGrid.

I have a ListGrid that is enabled for Drag and Drop, and is grouped and when I set the following settings:


availableGrid.setShowFilterEditor(true);
availableGrid.setFilterOnKeypress(true);
availableGrid.setFilterLocalData(true);

I see this error:

Code:

ERROR: 16:17:22.195:selectionchange2:WARN:ListGrid:isc_ListGrid_2:No DataSource or invalid DataSource specified, can't create data model
    ** recursed on [a]MathFunction.invokeSuper
com.smartgwt.client.core.JsObject$SGWT_WARN: 16:17:22.195:selectionchange2:WARN:ListGrid:isc_ListGrid_2:No DataSource or invalid DataSource specified, can't create data model
    ** recursed on [a]MathFunction.invokeSuper
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
        at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:105)
        at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
        at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
        at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:293)
        at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:547)
        at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)
        at java.lang.Thread.run(Thread.java:744)


Viewing all articles
Browse latest Browse all 4756

Trending Articles