:: Forum >>

Turn off selection

I do not need to allow selection at all. How do I turn it off?
Quidam
Monday, September 26, 2005
obj.setAction("selectRow", null);
obj.setEvent("onkeydown", null);
Monday, September 26, 2005
The setAction and setEvent listed above do achieve the requested functionality, but I still need the doubleclick event to work. I am doing the doubleclick as follows:

objGridRow.setEvent("ondblclick", SelectAccount)

with the code in SelectAccount functioning as follows:

function SelectAccount()
{
var index = objGrid.getSelectionProperty("values");
...
}

If I use the suggested Action and Event handlers, the value of objGrid.getSelectionProperty("values") ends up being "". I need to still retrieve the value of the row on doubleclick, but not allow selection of the row. I use the XML functionality to populate with data. How can I have my cake and eat it too?
Tuesday, September 27, 2005
you could just make the stylesheet the same for selected and unselected :)
Thursday, September 29, 2005
Hi,

Is there a way to get the value of unselected row or coloumn....

Thanks in advance,
Bala
Bala
Tuesday, August 15, 2006

This topic is archived.


Back to support forum

Forum search