Page 1 of 1

listview and getSelected() - get selected nodes

Posted: Wed Aug 29, 2018 8:32 am
by carlosamadeo
I have been trying to figure this out, but to no avail.

If I have a listview with a bunch of items (nodes) and the user clicks on one of the items, how can I know what item it is?
I tried going over the source code, but this thing is definitely above my paygrade.

Does anyone have any examples on how this is done? It be greatly appreciated.

Re: listview and getSelected() - get selected nodes

Posted: Wed Aug 29, 2018 8:53 am
by olton
GetSelected return checked nodes. Selected mode enable with attribute data-selected="true"