问题
I have a kendo UI tab, and each tab is binding to an Ajax function. I want my tab to fire ajax call to get fresh content every time the tab is changed, not just the first time. Is there a configuration or recommended way that I can achieve this?
回答1:
Hello this could be easily through the reload method of the TabStrip.
var ts = $(tabstrip).data().kendoTabStrip
ts.tabGroup.on('click','li',function(e){
ts.reload($(this));
})
来源:https://stackoverflow.com/questions/16067258/kendo-ui-tab-reload-tab-every-time-it-is-clicked