Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
select a whole row rather than a cell within the row
Hi,
I have an edit table. I want the user to be able to interact with it at the ROW level, not the cell level. So when they click on the row, the whole row is selected. Also, I want the user to be able to move between rows using the down and up arrows. Is this possible? It is possible in the standard OI edit table, so I would guess it's possible in your table. But I can't see how to make it work in your doco.
I have an edit table. I want the user to be able to interact with it at the ROW level, not the cell level. So when they click on the row, the whole row is selected. Also, I want the user to be able to move between rows using the down and up arrows. Is this possible? It is possible in the standard OI edit table, so I would guess it's possible in your table. But I can't see how to make it work in your doco.
Comments
If there isn't that's OK.
Thanks
The table already supports the ability to navigate up and down with the arrow keys. Is this not working for you?
The up down arrows aren't working for me, but since you say it is supported, then there must be something wrong with my code. I will have a look. I just wanted to make sure that I wasn't looking in vain for functionality that doesn't exist.
Also, you are right. I will just highlight the whole row. I was just surprised that your table didn't do this automatically, as the OI table does, and I am used to that i guess. But it's fine.
thanks
They can help in making the selected cell look the same as all the other cells in the selected row instead of the obvious selection you can see at the moment.
yeah, i have removed the black border, so not it looks like the user has just selected the row. If they want to edit a cell, they have to double click on it.