Unplanned
Last Updated: 01 Oct 2021 04:58 by ADMIN
Martin
Created on: 06 Dec 2012 17:10
Category: PanelBar
Type: Feature Request
2
Provide a cleaner interface to access Items in a PanelBar
Allow each item in a PanelBar to be named via Name() and then allow access to the items with alternatives like:
var pb = $("#panelBar").data.("kendoPanelBar");
var item = pb.Items("myName");

or 

var item5 = pb.Items(5);

Further, make the expand. collapse, select methods become methods of the item so that....

$("#panelBar").Items("myItem").expand();

is the way it is done.

I am sure the same principle can be applied to other widgets like Menu, for example.
0 comments