cancel
Showing results for 
Search instead for 
Did you mean: 

Selecting multiple rows in a table

Former Member
0 Kudos

Hi All,

I have one problem with selecting multiple rows in a table.I tried with setting table property-selectionMode as Multi, but i dinn't get the solution.

please provide me solution for this.

Thanks & Regards,

Sreelakshmi.

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

thanks!

Former Member
0 Kudos

Hello Sreelakshmi,

Please make your look condition correct and thn ckeck.

for(int i=0;i<wdcontext.nodeModelNode.size -1;i++)

Cheers,

Pankaj Sharma

Edited by: Pankaj Sharma on May 7, 2009 2:43 PM

Former Member
0 Kudos

not answered!

yogesh_galphade
Contributor
0 Kudos

Hi

You can show the selected all the row in textinput, for that just get the selected row details store in temp variable.

But the data comes in row format so you have concat the column data and display in another UI element.

Former Member
0 Kudos

Hi All,

I tried with your advice but i'll display only the first selected row at text input.

Can you please provide the solution to display all selected rows in the textinput and also provide code if required.

Thanks & Regards,

Sreelakshmi.

Former Member
0 Kudos

HI

Int leadSelection = wdcontext.nodemodelnode.getLeadSelection();

for(int i=0;i<wdcontext.nodeModelNode.size;i++)

{

if(wdcontext.nodeModelNode.isMultiselected(i) || leadSelection ==i)

{

String name = wdcontext.nodemodelnode.getnameelementatindex(i).getName();

String address = wdcontext.nodemodelnode.getaddresselementatindex(i).getAddress();

String age = wdcontext.nodemodelnode.getAgeelementatindex(i).getAge();

Create a method for the Table Property onLeadSelect() where you can open a popup window

Create a value node and with attributes same as Table attributes and then set the values of the table

to the value node attributes.

}

Thanks

Former Member
0 Kudos

Hi,

I created one action & assigned this action to LeadSelect.I written these code in that leadSelect method itself. But it shows error.Actually where we have to put these code?

Thakns & Regards,

Sreelakshmi.

Former Member
0 Kudos

HI

what is the error you are facing with ?

Former Member
0 Kudos

Hi,

i got an error " model node can not be resolved".

thanks!

Former Member
0 Kudos

Hi

Please provide the code you have written and also the node Structure .

Thanks

Former Member
0 Kudos

thanks!!!

former_member205363
Contributor
0 Kudos

Hi Sreelakshmi,

If you set the property as multiple, then we can select multiple rows in a table.

we can select multiple rows with pressing Ctrl tab + select the row.

Regards,

Lakshmi Prasad.

Former Member
0 Kudos

Hi laxmi Prasad,

I want to display all those selected rows in a another UI element (like InputField or Texteditor).

can u please help me.

Thanks & Regards

Sreelakshmi.