alexyigidey8 / gwt-ext

Automatically exported from code.google.com/p/gwt-ext
1 stars 0 forks source link

doBeforeRowSelect error: JS value of type boolean, expected int #511

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Code:

getCellSelectionModel().addListener(
                new CellSelectionModelListenerAdapter() {

                    @Override
                    public boolean doBeforeRowSelect(CellSelectionModel sm,
                            int rowIndex, int colIndex) {
                        if (colIndex != 0)
                            return false;

                        return true;
                    }
                });

generates error:
2009-08-30 18:04:40,993 FATAL [-:-] - Uncaught JavaScript exception
[com.google.gwt.dev.shell.HostedModeException: Calling method
'doBeforeRowSelect': JS value of type boolean, expected int
    at com.google.gwt.dev.shell.JsValueGlue.getIntRange(JsValueGlue.java:267)
    at com.google.gwt.dev.shell.JsValueGlue.get(JsValueGlue.java:103)
    at
com.google.gwt.dev.shell.ie.SwtOleGlue.convertVariantsToObjects(SwtOleGlue.java:
57)
[..]

I think that this is a error in GWT EXT.
A use gwt 1.7, gwt ext 2.0.6, google eclipse plugin.

Original issue reported on code.google.com by bbarczyn...@gmail.com on 30 Aug 2009 at 4:09