Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.