cancel
Showing results for 
Search instead for 
Did you mean: 

Multi-select tables style

michael_pang4
Active Participant
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

Michael,

these thread should be helpful:

Regards,

Gianluca Barile

Former Member
0 Kudos

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

Answers (0)