RowHighlight property: Grid class
Description
Use this property to set or return a Boolean value indicating whether row highlighting has been enabled or disabled for the grid.
By default, when a grid has more than one row, and an end user hovers the mouse over a row or selects the row, the system highlights that row to indicate it is the row of current focus. However, this can be distracting or unnecessary for some interfaces for varying reasons, such as the number of rows in the grid, the form factor of the device displaying the page, and so on.
This property is read/write.
Example
In the following example, the first grid’s row highlighting behavior is enabled; the second grid’s row highlighting behavior is disabled.
*Within a page’s Activate event */
Local Grid &MYGRID1;
Local Grid &MYGRID2;
&MYGRID1 = GetGrid(Page.USER_SELF_SERVICE, "PSUSEREMAIL");
&MYGRID1.RowHighlight = True;
&MYGRID2 = GetGrid(Page.USER_SELF_SERVICE, "MCF_IM_XMPP_CFG");
&MYGRID2.RowHighlight = False;