Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by wangwq on Aug 22, 2009 01:48
open dhtmlx forum
select cell in IE is slow

it takes about 3 or 4 seconds to move focus to the cell when I click in a grid with 500 rows In IE 6.0,
but in FF it takes only 0.1 second

it's any trick in js?
Answer posted by dhxSupport on Aug 24, 2009 03:41
Can you please provide us example where we can reproduce this issue? 
Answer posted by wangwq on Sep 03, 2009 02:05
the code is very simple.
myLayout = new dhtmlXLayoutObject(document.body, "1C", "dhx_blue");
myLayout.cells("a").setText("Block List");

myGrid = myLayout.cells("a").attachGrid();
myGrid.setSkin("light");
myGrid.setImagePath("codebase/imgs/");

myGrid.loadXML("xml/GridHeaderBlock.xml",function(){ loadData(); });


function loadData()
{
myGrid.clearAll();
myGrid.updateFromXML("BlockOperate.php?ot=6&qybh=013F4D3F654F41044E3F3F1E363F3F00&qb=1");
}

and please visit
http://124.115.26.144/test/blockgrid.php
Answer posted by wangwq on Sep 07, 2009 17:44
Answer posted by dhxSupport on Sep 08, 2009 02:02
Unfortunately we cannot open your link.
Answer posted by wangwq on Sep 08, 2009 18:13
Answer posted by dhxSupport on Sep 09, 2009 00:47
This page shows error:

Not Found

The requested URL /test/blockgrid.php was not found on this server.
Answer posted by wangwq on Sep 09, 2009 01:56
http://www.sxynzs.com/test/blockgrid.php

also

source code files in attachment
Answer posted by dhxSupport on Sep 09, 2009 03:17
Can you please provide sample of xml for rows which you are using? You can just open BlockOperate.php in the browser and copy generated xml output.
Also please don't post files from the PRO version in this forum.
Answer posted by wangwq on Sep 09, 2009 18:27
please replace loadData() function in file blockgrid.php with
    function loadData()
    {
        myGrid.clearAll();
        //myGrid.updateFromXML("BlockOperate.php?ot=6&qybh=013F4D3F654F41044E3F3F1E363F3F00&qb=1");
        myGrid.updateFromXML("BlockOperate.xml");
    }
Answer posted by dhxSupport on Sep 10, 2009 03:24
This is known issue of the dhtmlxLayout 2.0. This problem was fixed at the 2.5 version. New version of dhtmlxLayout you can download here http://dhtmlx.com/docs/download.shtml