SmartClient Version: v8.3d_2012-11-18/LGPL Development Only (built 2012-11-18)
2. browser(s) and version(s) involved
There are error appear when I try to drag a record to header of the list grid ,
Error :
How can I prevent drop record to the header ? , I attach complete sample code .
Regards
2. browser(s) and version(s) involved
There are error appear when I try to drag a record to header of the list grid ,
Error :
Code:
16:36:21.312 [ERROR] [sampleproject3_1] 16:36:21.213:TMR1:WARN:ResultSet:isc_ResultSet_0 (created by: isc_ListGrid_0):get: invalid index -1 com.smartgwt.client.core.JsObject$SGWT_WARN: 16:36:21.213:TMR1:WARN:ResultSet:isc_ResultSet_0 (created by: isc_ListGrid_0):get: invalid index -1 at sun.reflect.GeneratedConstructorAccessor23.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) 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:167) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:281) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:531) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352) at java.lang.Thread.run(Thread.java:662)
Code:
final ListGrid countryGrid = new ListGrid(); countryGrid.setWidth(500); countryGrid.setHeight(224); countryGrid.setShowAllRecords(true); countryGrid.setShowFilterEditor(true); countryGrid.setCanDragRecordsOut(true); countryGrid.setCanReorderRecords(true); countryGrid.setCanAcceptDroppedRecords(true); countryGrid.setAutoFetchData(true);
Regards
Comment