:: Forum >>
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
Christian Boulanger
Tuesday, August 24, 2004
Sudhaker Raj
Tuesday, August 24, 2004
Thanks Sudhaker,
your source code is a great tutorial!!
And Alex ... I have never seen such well designed widget before! If you update the documentation to reflect what it can do, that would be great. And ... put a "donate" button on your page!
Christian
Christian Boulanger
Thursday, August 26, 2004
I know this is old but I would of though just remember in code you are selecting all by a flag then change the style sheet for normal rows to match selected ones surly this would be a lot faster.
Wednesday, July 27, 2005
This topic is archived.
Back to support forum
Forum search