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

focusInRow( row ) calling non-existent function ( ISC_Grids.js )

$
0
0
SmartClient LGPL 9.1
Latest version of Chrome ( as of 6/17/2014 ) ( appears in other browsers as well )

If we call ListGrid.focusInRow( row ), an error always gets thrown.

Apparently, focusInRow is trying to call hasFocus() on 'this.body' to determine whether or not to call focus().

It appears that 'hasFocus' is a boolean property 100% of the time.

Standalone test case: http://www.smartclient.com/#columnSize

Open up the Chrome console, and enter the following:

grid = Canvas.getById( 'countryList' );
grid.focusInRow( 0 );

Now notice the error message in the Chrome console, 'TypeError: undefined is not a function'.

Any help appreciated. Thanks!

Viewing all articles
Browse latest Browse all 4756

Trending Articles