Skip to Content
0
Former Member
Mar 02, 2009 at 05:52 AM

BSP htmlb:tableView Row index

148 Views

Hi All

I stack at a point and need ur help/ suggestion . I have BSP page displaying data in HTML:TABLEVIEW in single select mode .

Now if i select a row OR Click on a cell , i wnat to know the index number of row selected.

I am using MVC model so For this i went into Controller's DO_HANDLE_EVENT in this on debugging mode i found following values :

htmlb_event                    {O:34*\CLASS=CL_HTMLB_EVENT_TABLEVIEW}
htmlb_event->server_event      MyEventCellClick
htmlb_event->row_index                  2

means i got index htmlb_event->row_index but when i am write the statement :

       qa32clobj->v_index = htmlb_event->row_index.

it gives me syntax error :

Class ZCONTROL_QA32,Method DO_HANDLE_EVENT

Field "ROW_INDEX" is unknown. It is neither in one of the specified

tables nor defined by a "DATA" statement. "DATA" statement.

please help me.

Regards

Sachin Sharma