I've experienced a similar issue on IE (Firefox was fine) when trying to run a custom animation. More specifically, I got the same InvalidArgument javascript error. I haven't tried to pin down the exact specific problem as I don't have an IE javascript debugger but I'm pretty sure the cause is the buggy javascript interpreter from IE. If you want to look at a resizable columns example in FlexGrid, try looking at the one from the incubator, we use it in our projects and it works pretty well.
http://code.google.com/p/google-web-toolkit-incubator/source/browse/#svn/trunk/src/com/google/gwt/widgetideas/table/client You should note that the stack trace from your exception points at one of your classes and you might be able to see what's wrong if you debug your application and put a breakpoint at that location : (com.ibsplc.client.ui.table.EasyFlexTableResizable.setColumnWidth (EasyFlexTableResizable.java:43) ) <- That tells you where the exception is thrown Cheers, Salvador On Apr 15, 9:24 am, Suren <nsurendi...@gmail.com> wrote: > Hi All, > > I am just trying out the example code given in the book named > > "Google Web Toolkit Solutions-More cool and useful stuff" for > resizable columns in FlexGrid. > > I have created (carefully!!) all the required classes as like > mentioned in the book. > > When I run the application, its launching without any problem. The > moment, when I try to resize any column, I am getting the following > exception displayed in the Shell window > > [ERROR] Uncaught exception escaped > com.google.gwt.core.client.JavaScriptException: (Error): Invalid > argument. > number: -2147024809 > description: Invalid argument. > at com.google.gwt.dom.client.Element$.setPropertyString$(Native > Method) > at com.google.gwt.user.client.DOM.setElementProperty(DOM.java:1088) > at com.google.gwt.user.client.ui.HTMLTable$ColumnFormatter.setWidth > (HTMLTable.java:411) > at com.ibsplc.client.ui.table.EasyFlexTableResizable.setColumnWidth > (EasyFlexTableResizable.java:43) > at com.ibsplc.client.ui.table.ColumnResizeListener.onResize > (ColumnResizeListener.java:19) > at com.ibsplc.client.ui.ResizeListenerCollection.fireResize > (ResizeListenerCollection.java:12) > at com.ibsplc.client.ui.table.ResizableCellPanel.onMouseMove > (ResizableCellPanel.java:94) > at com.google.gwt.user.client.ui.MouseListenerCollection.fireMouseMove > (MouseListenerCollection.java:122) > at > com.google.gwt.user.client.ui.MouseListenerCollection.fireMouseEvent > (MouseListenerCollection.java:81) > at com.google.gwt.user.client.ui.Label.onBrowserEvent(Label.java:168) > at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:1308) > at com.google.gwt.user.client.DOM.dispatchEventAndCatch(DOM.java: > 1287) > at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1255) > > I have checked the method setColumnWidth, it was like below. > > public void setColumnWidth(int column, int width) { > getColumnFormatter().setWidth(column,width + "px"); > } > > And I knew that setWidth method args are int and String. so on the > safer side I had changed the args like below. > > public void setColumnWidth(int column, int width) { > getColumnFormatter().setWidth(column,Integer.toString(width) + "px"); > } > > But still I am getting the same exception. Any one experienced such > issue? > > Or please advise what is wrong in this case > > Thanks in advance > > Suren --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---