Lobo
October 11th, 2005, 08:28 AM
Hi,
I have a datagrid with enabled=true and readonly=false. Enabled must be true because otherwise I dont get the Mouseevents.
The problem is that it should not be possible to select a row. I can do this by setting currentrowindex = -1, but by the next click I get an indey out of range.
How can I just disable the selection of rows?
thank you!
Edit: grid.unselect(grid.currentrowindex) somehow does nothing at all.
I have a datagrid with enabled=true and readonly=false. Enabled must be true because otherwise I dont get the Mouseevents.
The problem is that it should not be possible to select a row. I can do this by setting currentrowindex = -1, but by the next click I get an indey out of range.
How can I just disable the selection of rows?
thank you!
Edit: grid.unselect(grid.currentrowindex) somehow does nothing at all.