Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Irfan Khawaja on Oct 09, 2007 18:47
open dhtmlx forum
dhtmlXGrid: Page Down Key getting lost.

I am using dhtmlxGrid v.1.4 Pro.

Every thrid page down key is getting lost. I select the first row, press page down key, moves me to the last row on the displayed area of the grid, press page down key again moves me down some more rows but now if I press page down key again, nothing happens. I have to press page down key again to see more data and same thing starts happening again.

Below is the code to initialize and populate the grid with XML:

  function pageInit() {
   doGrid = new dhtmlXGridObject('gridbox');
   doGrid.setImagePath("../images/");
   doGrid.setOnLoadingEnd(endInit);
   doGrid.setOnColumnSort(customColumnSort);
   doGrid.enableSmartRendering(true);
   doGrid.init();
   doGrid.loadXML("{rpt_datafetch}");
  }
 
  
  function reloadGrid(){
   sortWait();
   doGrid.clearAll();
   doGrid.loadXML("{rpt_datafetch}&rpt_orderBy="+window.s_col+"&rpt_sortDirection="+window.a_direction);
   if (window.a_direction)
    doGrid.setSortImgState(true,window.s_col,window.a_direction);
  }

Answer posted on Oct 10, 2007 12:10
Problem confirmed and fixed - fix will be available as part of next build.
If you need it ASAP - please contact us at dhtmlx@scand.com and provide your registration number - we will send you fixed files.