I have a panelBar for each of the listView templates:
- panelbarView for viewTemplate
- panelbarEdit for editTemplate
I am switching listview from view to edit mode programatically (on a button click):
window.panelBarEdit = $(
However there's a problem with that, cause initial binding seems not to be working anymore after I called .kendoPanelBar()!?
Is there any way I can make it preserving the initial binding even in edit mode?
Note: The reason I did not go with only one panelBar, instead of having a separate one for each view and edit mode, is that in that case I do not have a control over panelBar elements from the datasource which I want to do - like hiding/showing panelBar custom link button based on a flag.