Community
Participate
Working Groups
newSelection[ i ] = Integer.parseInt( selectedIndices[ i ] );
}
table.setSelection( newSelection );
table.deselectAll();
table.select( newSelection );
private static void readWidgetSelected( final Table table ) {
if( WidgetLCAUtil.wasEventSent( table, JSConst.EVENT_WIDGET_SELECTED ) ) {
// TODO [rh] do something reasonable when index points to unresolved item
int index = getWidgetSelectedIndex();
// Bugfix: check if index is valid before firing event to avoid problems
// with fast scrolling
writer.call( "setScrollBarsVisibile", args );
//////////////////
// Helping methods