on 11-22-2005 4:14 PM
I just tried to clear the current selection of a htmlb:tableView. the selectionMode is "MULTISELECT".
I tried this:
DATA lr_table_view TYPE REF TO cl_htmlb_tableview.
* get ref to tableView
lr_table_view ?= cl_htmlb_manager=>get_data( request = request
name = 'tableview'
id = 'myid' ).
* before this, prevselectedrowindextable contains 4 entries.
CLEAR lr_table_view->data->prevselectedrowindextable.
* after this, prevselectedrowindextable is empty, but on the view, still the selection is shown
but this does not seem to have any effect.
Thx for any suggestions.
Daniel
you use the following method to select/deselect all rows.
cl_htmlb_manager=>check_tableview_all_rows( rowcount = n
request = request
id = '<TV id>'
keytable = keytable
<b>check = '' ).</b>
CHECK = 'X' TO select all rows
check = ' ' to delselect all rows.
Regards
Raja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi daniel
yes It wont effect because every time new instance of tableview( cl_htmlb_tableview ) will be created so that's why what ever the changes we made to the previous instance will not take effect.
one way to your problem is in the <b>selectedRowIndexTable</b> attribute should be specify with a value of type 'INT4_TABLE'.
and you have to fill that table according to your needs.
i hope this will help you
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.