set selected row before page loads
I found no way to pre-selcet a certain row in the table when the page loads.
prior to version 2 the following code used to do that:
I am using a single-row selection model and obj.setSelectedRows() makes the first row disappear altogether.
My full code which does not work is as follows:
var myData = [["a","b","c",],["a","b","c",],["a","b","c",],];
var myColumns = ["s","s","s",];
var obj = new AW.UI.Grid;
Thanks for your help
Thanks for your advice but it is exactly the same result...
The first row in the table does not come up at all.
Try for yourself and see..
Ideas anyone ? this seems a really simple feature.
Another post on the forum describes a bug in v2.0 and a workaround.
So now it is ok.
This topic is archived.
Back to support forum
Version 2Looking for AW 2.6 ?
The old site is here.