Hi Isomorphic,
I have a list grid with an foreign key column displaying its father's data. This works fine. I set the ListGrid to setShowFilterEditor(true).
In order to see all the possibilities to filter for, I create a new SelectItem to use as FilterEditor with
This works as expected as well, but the data in the filter is not sorted. If I now remove the comment in above code, the list gets sorted as expected, but I also get one single warning when showing the widget. I can use the widget as expected then.
The warning is
"13:37:52.317:MUP7[E]:WARN:PickListMenu:isc_PickListMenu_4:fields and completeFields are null and there is no DataSource"
From my forum reading this *might* be connected to http://forums.smartclient.com/showthread.php?t=12913 (same warning, widget working as expected).
As I think it is somehow connected to the setSortField("NAME"), it might be easiest for you to reproduce in showcase http://www.smartclient.com/smartgwte...e_valuemap_sql which already uses setFilterEditorType() with an (unsorted) ComboBoxItem.
Best regards,
Blama
PS: Tested with current 3.0 eval, FF9.0.1 in GWT development mode.
I have a list grid with an foreign key column displaying its father's data. This works fine. I set the ListGrid to setShowFilterEditor(true).
In order to see all the possibilities to filter for, I create a new SelectItem to use as FilterEditor with
Code:
SelectItem anredeIdSI = new SelectItem("ANREDE_ID") { { setValueField("ID"); setDisplayField("NAME"); setOptionDataSource(anredeDS); //setSortField("NAME"); } }; anredeIdLGF.setFilterEditorType(anredeIdSI);
The warning is
"13:37:52.317:MUP7[E]:WARN:PickListMenu:isc_PickListMenu_4:fields and completeFields are null and there is no DataSource"
Code:
13:37:52.289 [ERROR] [myproj] 13:37:52.317:MUP7[E]:WARN:PickListMenu:isc_PickListMenu_4:fields and completeFields are null and there is no DataSource com.smartgwt.client.core.JsObject$SGWT_WARN: 13:37:52.317:MUP7[E]:WARN:PickListMenu:isc_PickListMenu_4:fields and completeFields are null and there is no DataSource at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) 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:292) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:546) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363) at java.lang.Thread.run(Unknown Source)
As I think it is somehow connected to the setSortField("NAME"), it might be easiest for you to reproduce in showcase http://www.smartclient.com/smartgwte...e_valuemap_sql which already uses setFilterEditorType() with an (unsorted) ComboBoxItem.
Best regards,
Blama
PS: Tested with current 3.0 eval, FF9.0.1 in GWT development mode.
Comment