cancel
Showing results for 
Search instead for 
Did you mean: 

"Stepping through" a multi-selection possible?

Raiwald
Associate
Associate
0 Kudos

Hi there,

perhaps this is a stupid newbie question, but please bear with me... so here it goes:

If I have a master-detail split screen, and have multiple items selected in the list, and i want to review the selected items in detail one after the other...

- Is it possible to step through only the selected items of a table, e.g. by clicking buttons (back and forth), and "moving" the lead selection at the same time, while keeping the other items selected?

- Is it possible to sort the table by selected vs. unselected items?

Thank you very much for any help...

Kind regards, RM

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

You can create a calculated context attribute of type boolean for that element named multiselected, and simply map it to

wdContext.nodeMyNodeElement().isMultiSelected( element.index() );

You can then query against this attribute to see if that node has been multiselected or not. Sorting, stepping through, etc is straight forward.

Former Member
0 Kudos

You could do something like

- Store the indices of the multi-selected node elements in an array

- Create actions that use IWDNode.moveTo(index) to move the lead-selection through the multi-selected indices

- Bind buttons to these actions

Armin