cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

Get selected items from Listview control?

Is there anyway to get the selected items in a listview control using javascript?

0 Kudos
Reply
4 Replies
Workflow Hero

Re: Get selected items from Listview control?

try

NWF$('.LVCtrl .s4-itm-cbx:checked')

LVCtrl is your custom CSS class assigned to listview control

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: Get selected items from Listview control?

That's great but how do I get a handle to the items?    Would I just need to parse the text in the view?   Or is there a better way?

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: Get selected items from Listview control?

What do you mean with "handle"?

you will need to  parse data out of DOM

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: Get selected items from Listview control?

Hi ‌, did you succeed with this?

0 Kudos
Accept as Solution Reply