Hi Isomorphic
Is there any possibility to set focus in an editable row in a listgrid without using grid.startEditing(row,col,suppressFocus)
.
Actually problem is when grid contains more data (ex 100) and i want to set focus in last row of grid within grid dataarrive handler,it is taking almost 23 seconds or above. When number of row increase
then time also increase. As a result after some time browser(Mozilla) display script error and chrome crash. What is the solution to solve my problem(edit row focus and no script error in browser and time decrease).
My grid data source contain almost 36 fields.
My code is
Grid1.addDataArrivedHandler(new DataArrivedHandler() {
@Override
public void onDataArrived(DataArrivedEvent event) {
int totalrows= Grid1.getTotalRows();
Grid1.startEditing(totalrows-1,4,false);
Grid1.scrollToCell(totalrows-1, 4);
}
}
If any know the solution please help me.
I am using
SmartClient Version: v8.3_2012-11-20/PowerEdition Deployment (built 2012-11-20)
Firefox 25.0.1
Chrome Version 35.0.1916.114 m
Is there any possibility to set focus in an editable row in a listgrid without using grid.startEditing(row,col,suppressFocus)
.
Actually problem is when grid contains more data (ex 100) and i want to set focus in last row of grid within grid dataarrive handler,it is taking almost 23 seconds or above. When number of row increase
then time also increase. As a result after some time browser(Mozilla) display script error and chrome crash. What is the solution to solve my problem(edit row focus and no script error in browser and time decrease).
My grid data source contain almost 36 fields.
My code is
Grid1.addDataArrivedHandler(new DataArrivedHandler() {
@Override
public void onDataArrived(DataArrivedEvent event) {
int totalrows= Grid1.getTotalRows();
Grid1.startEditing(totalrows-1,4,false);
Grid1.scrollToCell(totalrows-1, 4);
}
}
If any know the solution please help me.
I am using
SmartClient Version: v8.3_2012-11-20/PowerEdition Deployment (built 2012-11-20)
Firefox 25.0.1
Chrome Version 35.0.1916.114 m