I have this simple tabStrip
var tabStrip = $("#tabstrip").kendoTabStrip({ dataSource: [ { text: 'Tab1', url: '' }, { text: 'Tab2', url: '' }, { text: 'Tab3', url: '' }, { text: 'Tab4', url: '' } ], dataTextField: 'text', dataUrlField: 'url'}).data("kendoTabStrip");
Let's do two transformations on it
// Move Tab4 before Tab1tabStrip.insertBefore(tabStrip.tabGroup.children().last(), tabStrip.tabGroup.children().first());// Remove Tab3tabStrip.remove("li:last");
If I look at the dataSource of my tabStrip, I don't see the above transformations.
// Expected: [{"text":"Tab4","url":""},{"text":"Tab1","url":""},{"text":"Tab2","url":""}]// Result: [{"text":"Tab1","url":""},{"text":"Tab2","url":""},{"text":"Tab3","url":""},{"text":"Tab4","url":""}] kendo.stringify(tabStrip.dataSource.data());
How can I keep the dataSource in sync with what is actually rendered?
Here is a dojo snippet reproducing my issue.
Regards
