Hi,
I have a grid inside the tab. totally 8 tabs are there. First 3 tabs are getting the values from database. Other tabs are getting calculated values from the first 3 tab. When am changing the value in 1st tab it will reflect the calculated value in 4,5,6 tabs. As of now am refreshing the tab at that time of clicking the tabs. Ex second tab grid has been refreshed by using the following code.if(ui.newTab.index()==2)
{
var $grid=$("#VoyageDetails_tab_main");
$grid.pqGrid("refresh");
}
My data length is keep on increasing because of inserting new rows. So am facing performance related issue. In my 4th tab I have 6 grids one by one. So when am clicking 4th tab, it is taking more than 6 sec. For 4th tab refreshing am using the following code. if(ui.newTab.index()==3)
{
var $grid=$("#standardVoyages1_tab_main");
$grid.pqGrid("refresh");
var $grid=$("#standardVoyages2_tab_main");
$grid.pqGrid("refresh");
var $grid=$("#standardVoyages3_tab_main");
$grid.pqGrid("refresh");
var $grid=$("#standardVoyages4_tab_main");
$grid.pqGrid("refresh");
var $grid=$("#standardVoyages5_tab_main");
$grid.pqGrid("refresh");
var $grid=$("#standardVoyages6_tab_main");
$grid.pqGrid("refresh");
}
If I removed this refresh, when I am clicking this tab it is showing no rows. I tried to give RefreshRow after I completed the calculation of line. But it is not working properly [ I have attached the snapshot]. Please help me to overcome this performance related issue.