:: Forum >>

Selecting row on clicking the row header

Hi,

I was wondering is it possible to select a row (or multiple rows) by clicking the row header(s).

Thanks for your help in advance!
Misso
Monday, May 16, 2005
Misso,

Did you ever get a reply or find a solution to your question?
Scoop
Tuesday, November 29, 2005
Scoop, this shall do it perfectly, except to deselect a line, but this is trivial so I leave it up to you... All this is documented in grid.htm in quickref folder!

obj.onSelectorMouseDown= function(event, index)
{
var selectedRows = obj.getSelectedRows();
selectedRows.push(index);
obj.setSelectedRows(selectedRows);
};
Paul
Tuesday, November 29, 2005

This topic is archived.


Back to support forum

Forum search