Welcome to the SRP Forum! Please refer to the
SRP Forum FAQ post
if you have any questions regarding how the forum works.
How to deselect an row in Edit Table
Let's say I selected a row,, and the row is highlighted in yellow, now I want to deselect the row, i.e. get rid of the yellow highlight and also don't want to highlight any other row
Is this for the basic OpenInsight edit table or the SRP EditTable control? Since you posted in the general OpenInsight category I assume it's for the basic version. In which case, you can use the
to get and set selected rows.
Here is a brief example:
*SelectedRows contains the list of rows
Selected = Get_Property(
SelectedRows = Selected<2>
*Select rows 5 and 10.
*Re-selecting an already selected row will unselect it
NewSelected = 5 :
Selected<2> = SelectedRows
If you are using the SRP EditTable the SELPOS property would still be used so it's pretty much the same concept.