cancel
Showing results for 
Search instead for 
Did you mean: 

Selecting All Rows(Elements) From Table

Former Member
0 Kudos

Hi ,

I am using table UI element with selection cardinality

0..n . My requirement is that when i click on select button ,it should select all the elements and should display all the selected Elements. My coding is as below(In one of the methods of view Controller)

int n = wdContext.nodeAllocProp().size();

for( int i = 0; i<n; i++)

{ wdContext.nodeAllocProp().setSelected(i, true);

}

but this is not working , Would anyone please what to be done for this ?

The AllocProp node is a value node with no other bindings .and selection cardinality as 0..n

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Dipti,

Check "selection" property of IWDTable UI control. It should be either "multiple" or "auto"

VS