Script Error:Grid Loading Time

Hi,

I receiving data up to 2417 records, that time no problem about the script error.
suppose i searching the record above the 3000 values. it show the script error.

            alert('1');
            mygrid = new dhtmlXGridObject('gridbox');
            //mygrid.init();
            mygrid.setImagePath("../../Images/dhtmlxGrid/imgs/");
            mygrid.setSkin("dhx_skyblue");
            mygrid.enableSmartRendering(true); //amiu
            //enabled column move 
            mygrid.enableColumnMove(true);
            mygrid.enableBlockSelection(true);
            mygrid.forceLabelSelection(true);
            mygrid.enableStableSorting(true);
            mygrid.attachEvent("onKeyPress", onKeyPressed);
            mygrid.enableMultiline(true);
            mygrid.setAwaitedRowHeight(20);
            
     attachEvent();
    setGridHeight();
     selectFrozenColumnsIfCookie();
    if (data != 0) {
        mygrid.parse(data);
    }
     dhtmlxError.catchError(data, my_error_handler);
    mygrid.loadOrderFromCookie(controller + "_ORDER");
    mygrid.loadSizeFromCookie(controller + "_SIZE");
    mygrid.loadSortingFromCookie(controller + "_SORTING");
    mygrid.loadHiddenColumnsFromCookie(controller + "_HIDDEN");

    alert('2');
    mygrid.enableAutoSizeSaving(controller + "_SIZE", "expires=" + date);
    mygrid.enableSortingSaving(controller + "_SORTING", "expires=" + date);
    mygrid.enableOrderSaving(controller + "_ORDER", "expires=" + date);
    mygrid.enableAutoHiddenColumnsSaving(controller + "_HIDDEN", "expires=" + date);
    alert('3');
    mygrid.splitAt(frozenColumns.toString());
    gridSortIfCookie("gridSortCall");
    mygrid.enableHeaderMenu(); 
    alert('4');

I check it my code using ‘alert’ message. First 3 alert i didn’t receive any script error.
After then, i got the script error[Above highlighted line].
The Frozen columns is first 3 columns to be freeze we can’t scroll about that.I think my issue is there?
Note: Header name using XML Loading
Here , I have attached my screen shot [Header& Footer]




In case of loading grid’s header from the xml you need to call the splitAt() method in that XML or after the data is loaded to the grid.

Please, provide with a complete demo, where the issue can be reproduced to create a better solution for you.
Here is the tutorial:
docs.dhtmlx.com/doku.php?id=othe … leted_demo