As per your suggestion, I implemented the api and I think I am making a mistake somewhere as I get this error.
Uncaught Error: cannot call methods on pqGrid prior to initialization; attempted to call method 'refresh'
Here is the snippet of my code:
$(document).ready(function() {
$("#tabs").tabs({
activate: function(event, ui) {
alert("Activate event fired for #tabs");
debugger;
$( "#tabs" ).pqGrid( "refresh" );
}
});
$("#tabs").on("tabsactivate", function(event, ui) {
$( "#tabs" ).pqGrid( "refresh" );
});
});
Please suggest.
Thanks.