我正在使用 kendoUI 面板栏。我在面板栏中有三个面板。我已经定义了面板栏,如下所示。我想在面板栏中编辑面板名称。
$("#panelBar").kendoPanelBar({
expandMode: "single",
select: onSelect,
dataValueField: "id",
dataTextField: "Text",
dataSource:
[{
text: "First",value:"1", expand: true, encoded: false,
content: "<div id='1'></div>"
},
{
text: "second",value:"2", expand: true, encoded: false,
content: "<div id='2'> </div>"
},
{
text: "Third",value:"3", expand: true, encoded: false,
content: "<div id='3'> </div>"
}
]
});