on 03-03-2007 3:02 PM
Hi,
If I make a table multi selected, the only possible way to select more than one option is to hold on the control or shift button and mouse click.
I've also seen some screenshots where the selection is using a CHECKBOX.
Do I have to implement that by adding a column of checkbox? Or is it as simple as changing one of the options/designs?
Thanks in advance.
Michael.
Hi Michael,
you have two possibilities:
1. setting up the multiselecting property and selecting more than one table row holding pressed the CTRL button (without any much managing code);
2. add to the table one master column in wich you can place UI checkbox and add the code to manage it (onToggle event).
Best regards,
Gianluca Barile
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Michael,
with this method you can select / unselect all the rows of your table:
public void SelectUnselectAll( com.sap.tc.webdynpro.progmodel.api.IWDNode node, boolean select )
{
//@@begin SelectUnselectAll()
int n = node.size();
for( int i = 0; i < n; i++ ){
node.setSelected(i, select);
}
//@@end
}
Hope this helps you.
Regards,
Gianluca Barile
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
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.