Skip to Content
avatar image
Former Member

How to refer to a column of tableview

Hi ,

I am developing a app with BSP.

I have a table view in my main page with fields bookid and name.

On the selection of a row( OnRowSelection event) i wasnt to submit the page, so as to open a new page with the details of the book .

Can you please help me how do i submit a page on the selection of a row and how will i address thespecific column of the table view in the next page,

EX- i can address the input field in the next page with request-.get_field(field name). what will be its counter part for table view if i want the value of the column bookid from the selected row.

Thanks a lot in advance

Nikhil

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jun 18, 2004 at 09:04 AM

    Hi Nikhil,

    as far as I understood your problem you can try to set the tableview-attribute "KEYCOLUMN" and specify the BOOK-ID to the attribute. If you catch the tableview event on OnInputProcessing or in the do_handle_event() you can see in the debugger, that the attribute "selectedrowkey" of your object of "cl_htmlb_event_tableview" will contain the bookid of the selected row.

    To open a page with JavaScript window.open see thread

    modal-page

    posted on: Feb 10, 2004 12:56 PM by me.

    Regards, Bernd

    Add comment
    10|10000 characters needed characters exceeded