Skip to Content
0
Former Member
Mar 02, 2010 at 11:00 AM

Table Control Row Highlight Problem

29 Views

Hi,

When I am selecting a row of the table control, it is not getting highlighted and only the first row of the table remains highlighted.

There is no problem with the data handling. The table is binded to a context node and I am able to fetch the record of the selected row. Only problem is with "Row Highlighting". These are the properties which were already set (with default values).

Properties of table control:

FirstActualRow - 0

FirstVisibleRow - 0

FixedTableLayout - ' ' (Unchecked)

GridMode - Both

RowCount - -1

RowSelectable - 'X' (Checked)

ScrollableColCount - -1

SelectionChangeBehaviour - Auto

SelectionMode - Auto

I have also written some code in ONSELECT event, but i am not setting any property of table control. Just using binding of context node to internal table. I have also tried following piece of code but it did not work.

data lv_count type I.

lv_count = context_node->get_element_count( ).

context_node->set_lead_selection_index( lv_count ).

Regards,

Snehal

Edited by: wdafan on Mar 2, 2010 12:00 PM