cannot set grid on split mode

i get error “this.hdr.rows.1._childIndexes is null or not an object”

when set grid on split mode.

how to repaired it ???



---------------------------------------------------------------------------







list code of grid.xml

======================================

<?xml version="1.0" encoding="iso-8859-1" ?>





No.

QRY

INST



















































======================================





splitAt need to be executed after data structure of grid already defined, so when you configuring grid from XML, splitAt need to be executed from XML as well.


mygrid.init();

//mygrid.splitAt(1); 

  • not  needed here
    mygrid.loadXML(“grid.xml”);


    list code of grid.xml

    ======================================

    <?xml version="1.0" encoding="iso-8859-1" ?>





    No.

    QRY

    INST

       
            1
       


ok, thanx. well done.