Trying to update grid in jQuery UI tabs:
$(document).ready(function() {
$("#tabs").tabs({
activate: function(event, ui) {
alert("Activate event fired for " + ui.newTab);
ui.newTab.find( ".pq-grid" ).pqGrid( "refresh" );
}
});
});
1. ui.newTab is rendered as empty object?
2. Get error on ui.newPanel.find( ".pq-grid" ).pqGrid( "refresh" ), Uncaught TypeError: ui.newTab.find(...).pqGrid is not a function
Thanks in advance.