on 07-31-2007 7:50 AM
Hi all,
I am displaying the records using the table control, i have to select the multiple records in the list <b>without using Crtl key</b>.
How do i solve this?
Thanks
Thanks Koen, but I want to select multiple rows <b>without using Crtl key</b>, but still I have to use this key to select various rows.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you should set the table parameter selectionMode to multi or multinolead
than you can select multiple records,
these you can retrieve: lt_selected_elements = node->get_selected_elements( ).
also see this <a href="https://forums.sdn.sap.com/click.jspa?searchID=4209200&messageID=3544158">thread</a> for info
grtz,
Koen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Yep , you can implement this using OnleadSelection method available in your table.In the onLeadSelection method add the current lead element to the selected elements using the SET_SELECTED .
In this way , during every lead selection , that particular element will be added to teh selected list.
Also in the lead selection method , you should check whether the element is already there in the selected list , if its there , then you should remove that from the list.
In this way , if you click on a row for twice , it will get de selected.
Thanks
Anzy
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.