cancel
Showing results for 
Search instead for 
Did you mean: 

cannot multi-select rows in a table

Former Member
0 Kudos

I have created a view with a table that is bound to a context node.

the context node has the properties "Cardinality" = 1..n and "Selection" = 1..n.

the table has the property "selectionMode" = 1.

I am not able to multi-select the rows in the table. Any idea why?

Accepted Solutions (1)

Accepted Solutions (1)

shwetars
Advisor
Advisor
0 Kudos

Hi Tiberiu,

cardinality can be 1..n or 0..n,

selection can be 0..n or 1..n,

InitializeLeadSelection can be checked or unchecked,

selectionMode property of the table ui element should be Multi or MultiNoLead,

rowSelectable should be checked

you can hold down "Shift" or "Ctrl" buttons when selecting multiple rows

Regards,

Shweta

Regards,

Shweta

Answers (3)

Answers (3)

Former Member
0 Kudos

<b>please close the thread and award points if ur problem is solved.</b>

Former Member
0 Kudos

the problem is not solved..... still waiting for some responses that will help...

former_member215843
Active Participant
0 Kudos

Hi Tiberiu,

How did you try to select the next rows?

You have to press the <CTRL>-key while selecting the row. Otherwise the lead-selection is changed, but not another selection is added to the table.

Ciao, Regina

Former Member
0 Kudos

problem was solved as per thread

Former Member
0 Kudos

you can change the selection mode in your table to "multi"...may be that will solve your problem

Former Member
0 Kudos

Selection mode should be specified as Multi in the design time. But since the context is defined for multiple selection, your table selection mode can be Auto and it will still work.

Regards,

Nithya

Former Member
0 Kudos

the selectionMode is set to "Auto". I cannot select any other row apart from the first row.

Former Member
0 Kudos

Can you try this setting the cardinality and selection in your context to 0..n instead of 1..n.

Former Member
0 Kudos

Hi Nithya, I made the change you recommended in the component controller context and updated the view context.

Now I cannot select any row (not even the first row which used to work before).

Former Member
0 Kudos

That change was not required, it was only a trial and error. It should work fine with 1/..n itself.

Have you unchecked the rowSelectable property in your table? It should be checked.

Former Member
0 Kudos

the rowSelectable property for my Table is checked.

Former Member
0 Kudos

I don't know if it matters....but...

I bind my table to a view context node which is mapped to a component controller context node. This component controller context node is created from a BAPI structure (not a table). Maybe this is why I cannot select more than one row?!

Former Member
0 Kudos

please ignore my previous post. After double checking, the BAPI uses a Table parameter.