I have an onSelect function for my Kendo Panelbar
I want to be able to get the index of the selected panel.
The example in the Kendo documentation gets the name of the panel:
$(e.item).find("> .k-link").text())
I simply want to return 0 (for top panel), 1, 2, 3 etc.
Thanks,
add an
id
onto each panels header, the clickable part. Then you could use something like this.