Select all rows
Hi,
I want to implement a CTRL+A / Button "Select all" function. I tried:
this.selectAll = function(uncheck)
{
var obj =this.tableObj;
var numRows = obj.setProperty("row/count");
for(var i=0;i<numRows;i++)
obj.setSelectionIndex(i);
}
(this.tableObj being a reference to the widget object).
This does not do anything. What am I doing wrong?
Thanks,
Christian
I want to implement a CTRL+A / Button "Select all" function. I tried:
this.selectAll = function(uncheck)
{
var obj =this.tableObj;
var numRows = obj.setProperty("row/count");
for(var i=0;i<numRows;i++)
obj.setSelectionIndex(i);
}
(this.tableObj being a reference to the widget object).
This does not do anything. What am I doing wrong?
Thanks,
Christian
Christian Boulanger
August 24,