:: Forum >>

Remove row highlight after action

Hi,

I have a grid in which a user can select a row. When the user clicks on a row, the selected row is highlighted as per the default behaviour (dark blue) and the contents are displayed in input boxes below the grid to allow for editing. The user then clicks the save button to refresh the grid with the edited values.

Is is possible to, at this stage, unhighlight the row that was selected - i.e. take the dark blue row selection away?

Thanks
Justin
Thursday, February 3, 2005
Try this:

obj.setSelectionProperty("values", []); // deselect all rows in the grid
Rick Mellott
Thursday, February 3, 2005
Thanks Rick. It works perfectly.
Justin
Friday, February 4, 2005
Justin,
Can I pls have the code.
BDC
Tuesday, January 3, 2006
for 2.0, you can do
obj.setSelectRows([]);
to deselect all the rows
Caleb
Wednesday, July 12, 2006
buttonClear.onClick = function()
{
obj.setSelectionProperty("values", []);
inputCode.setControlText("");
etc,etc

have implemented both methods shown to no avail, any alternatives
Kevin
Monday, November 27, 2006
obj.setSelectedRows([-1]);

seems to work
Kevin
Monday, November 27, 2006
obj.setSelectedRows([]);

works too.
Kevin
Monday, November 27, 2006

This topic is archived.


Back to support forum

Forum search