Skip to Content
author's profile photo Former Member
Former Member

URGENT : HTMLB Tableview selected rows

Hi ,

I use in a BSP a tableview in order to show content of a dictionnary table ( as MARA ) and I want to let user select or unselect all the rows by clickin on a button .

Does somebody konw how to do it .

Thanks in advance

PS : In my BSP i don't use MVC solution .

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Feb 11, 2004 at 01:58 PM

    Hi Bertrand,

    if you have a look at bsp sample application there is a sample for tableview not

    often but sometimes these samples are useful.

    They do it like this:

    if event->id = 'multicheck'.

    CL_HTMLB_MANAGER=>CHECK_TABLEVIEW_ALL_ROWS( rowcount = n

    request = request

    id = 'sflight1'

    keyTable = keyTable

    check = 'X' ).

    else.

    CL_HTMLB_MANAGER=>CHECK_TABLEVIEW_ALL_ROWS( rowcount = n

    request = request

    id = 'sflight1'

    keyTable = keyTable

    check = '' ).

    endif.

    if you built it in let me know if it works...

    Regards Matthias

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Matthias,

      Thanks a lot for your help, but now i got another problem with tableview and perhaps you should help me again.

      Users want to have some rows of the tableview pre-selected .

      My tableview is in design 2003 and MultiSelect mode .

      I try method cl_htmlb_manager=>check_tableview_row but nothing is done .

      I try method cl_htmlb_manager=>check_tableview_all_rows but the result is all the content of the table is selected not only rows that i send in parameterI don't realise what users want.

      Do you have any idea to succes my user's request ?

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.