Skip to Content
avatar image
Former Member

Ctrl click event in table

Hi all,

I use the onLeadSelect action to do some action if an item in a table is clicked.

Now in the same action I want to check if there are multiple items selected in the table:

wdContext.node<Bla>.isMultiple ....

But offcourse the user can select multiple items in a table with holding the Ctrl-key down. In the table you'll see the row marked yellow insteadof orange.

But if the user select row like this, the eventing never occurs???

Is there still a way to do the check then if there are multiple rows selected > while selecting row (i mean the same event).

I'm using NWDS 2.0.16

Thnx!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Nov 22, 2007 at 09:10 AM

    Hi,

    Use wdContext.node<Your Node>().iterateSelectedElements()

    Ex:

    wdContext.nodeA().iterateSelectedElements()

    Regards

    Ayyapparaj

    Add comment
    10|10000 characters needed characters exceeded