Hi,
In my screen 8 grids are there. In that three grids are getting values from db. Other grids are getting calculated values from these 3 grids. So after these 3 grids data's are loaded then I need to call the external function for calculation. For this I have used the following code.
$( "#vessel_tab_main" ).on( "pqgridload", function( event, ui ) {
$( "#VoyageDetails_tab_main" ).on( "pqgridload", function( event, ui ) {
$( "#poolrules_tab_main" ).on( "pqgridload", function( event, ui ) {
var vessel=-1;
var voyage=-1;
var poolrule=-1;
refresh: update ( event, ui,vessel,voyage,poolrule );
} );
} );
} );
The above code will run only in chrome and ie. It is not working in firefox and safari.
if am using the following code it will run in all the browser. Also some time it is not running, it get struck.
$( "#vessel_tab_main" ).on( "pqgridload", function( event, ui ) {
$( "#VoyageDetails_tab_main" ).on( "pqgridload", function( event, ui ) {
var vessel=-1;
var voyage=-1;
var poolrule=-1;
refresh: update ( event, ui,vessel,voyage,poolrule );
} );
} );
Why it is happening. Anything wrong. Please help me to overcome this.
Thanks in advance.