Home › Forum › Omnis General Forum › How do I hilite a selected line in a complex grid control?
Tagged: General Coding, Web
-
How do I hilite a selected line in a complex grid control?
Posted by Mischa on August 23, 2023 at 5:10 amCould not find a way to do it in a remote form
thanks!
Mischa
Andreas Pfeiffer replied 1 month ago 2 Members · 1 Reply -
1 Reply
-
Hi Mischa,
I would recommend using a data grid instead. This one has $multipleselect and if switched on you can select multiple list lines.
The complex grid is designed for always being enterable, hence not really useful for making a user selection.
What you probably could do is adding a control that shows the status of a line. For example you could use a checkbox or an icon to show if a row has been selected. You could also change the text color of certain objects (see here: https://www.omnis.net/developers/resources/onlinedocs/WebDev/03jscomps.html#exceptions) or use a page pane that shows different pages by setting the paged panes $dataname to a column of the list. https://www.omnis.net/developers/resources/onlinedocs/WebDev/03jscomps.html#using-dataname
Best,
Andreas
Log in to reply.