i get this error: this._h2 has no properties

i have used alert(mygrid.getOpenState(13));
and the xml is this :
<?xml version=‘1.0’ encoding=‘UTF-8’?>
<rows>
<row id=‘13’>
<cell type=‘sub_row_grid’>http://avieriu/xml_grids/managing_bus_trip_stops_shift_246_1.xml</cell>
<cell>23</cell>
<cell>8</cell>
<cell>1</cell>
<cell>20</cell>
<cell>1</cell>
<cell><![CDATA[<a href=‘http://avieriu/managing_bustrip_busses/?pbt=13’>Alocate</a>]]></cell>
<cell>o</cell>
</row>
<row id=‘21’>
<cell type=‘sub_row_grid’>http://avieriu/xml_grids/managing_bus_trip_stops_shift_246_2.xml</cell>
<cell>19</cell>
<cell>17</cell>
<cell>1</cell>
<cell>20</cell>
<cell>1</cell>
<cell><![CDATA[<a href=‘http://avieriu/managing_bustrip_busses/?pbt=21’>Alocate</a>]]></cell>
<cell>o</cell>
</row>
<row id=‘24’>
<cell type=‘sub_row_grid’>http://avieriu/xml_grids/managing_bus_trip_stops_shift_246_3.xml</cell>
<cell>45</cell>
<cell>7</cell>
<cell>0</cell>
<cell>10</cell>
<cell>1</cell>
<cell><![CDATA[<a href=‘http://avieriu/managing_bustrip_busses/?pbt=24’>Alocate</a>]]></cell>
<cell>o</cell>
</row>
<row id=‘26’>
<cell type=‘sub_row_grid’>http://avieriu/xml_grids/managing_bus_trip_stops_shift_246_4.xml</cell>
<cell>30</cell>
<cell>27</cell>
<cell>0</cell>
<cell>50</cell>
<cell>1</cell>
<cell><![CDATA[<a href=‘http://avieriu/managing_bustrip_busses/?pbt=26’>Alocate</a>]]></cell>
<cell>o</cell>
</row>
<row id=‘27’>
<cell type=‘sub_row_grid’>http://avieriu/xml_grids/managing_bus_trip_stops_shift_246_5.xml</cell>
<cell>46</cell>
<cell>26</cell>
<cell>0</cell>
<cell>20</cell>
<cell>1</cell>
<cell><![CDATA[<a href=‘http://avieriu/managing_bustrip_busses/?pbt=27’>Alocate</a>]]></cell>
<cell>o</cell>
</row>
<row id=‘29’>
<cell type=‘sub_row_grid’>http://avieriu/xml_grids/managing_bus_trip_stops_shift_246_6.xml</cell>
<cell>46</cell>
<cell>26</cell>
<cell>1</cell>
<cell>20</cell>
<cell>1</cell>
<cell><![CDATA[<a href=‘http://avieriu/managing_bustrip_busses/?pbt=29’>Alocate</a>]]></cell>
<cell>o</cell>
</row>
<row id=‘48’>
<cell type=‘sub_row_grid’>http://avieriu/xml_grids/managing_bus_trip_stops_shift_246_7.xml</cell>
<cell>30</cell>
<cell>27</cell>
<cell>1</cell>
<cell>50</cell>
<cell>1</cell>
<cell><![CDATA[<a href=‘http://avieriu/managing_bustrip_busses/?pbt=48’>Alocate</a>]]></cell>
<cell>o</cell>
</row>
</rows>

I give u one of the xml for the subgrids:

<?xml version=‘1.0’ encoding=‘UTF-8’?>
<rows>
<head>
<column width=‘100’ type=‘co’ align=‘left’ sort=‘str’>Haltes <option value=‘10’>Asiadok</option><option value=‘35’>Autogara Vest</option><option value=‘20’>Blancefloerlaan</option><option value=‘17’>Bonapartedok</option><option value=‘42’>Dacia</option><option value=‘21’>Eeuwfeest Kliniek</option><option value=‘29’>Evonik</option><option value=‘36’>Gara</option><option value=‘33’>HUB Dok</option><option value=‘32’>HUB N-Z</option><option value=‘28’>Ineos</option><option value=‘15’>Kempisch Dok</option><option value=‘22’>Koning Albertpaark</option><option value=‘27’>Lanxess</option><option value=‘41’>Mircea cel Batran</option><option value=‘30’>Monsanto</option><option value=‘8’>Noordkai</option><option value=‘34’>Pacurari</option><option value=‘37’>Podu de Piatra</option><option value=‘38’>Podu Ros</option><option value=‘19’>Sint Annatunnel</option><option value=‘18’>Sint Pauluskerk</option><option value=‘31’>Solvay</option><option value=‘39’>Tatarasi</option><option value=‘40’>Tg Cucu</option><option value=‘16’>Willemdok</option></column>
<column width=‘100’ type=‘ed’ align=‘center’ sort=‘str’>SHIFT LATE</column>
<column width=‘100’ type=‘ed’ align=‘center’ sort=‘str’>EARLY SHIFT</column>
<column width=‘100’ type=‘ed’ align=‘center’ sort=‘str’>DAY SHIFT</column>
<column width=‘100’ type=‘ed’ align=‘center’ sort=‘str’>NIGHT SHIFT</column>
<column width=‘100’ type=‘ed’ align=‘center’ sort=‘str’>SHIFT DIFFERENT</column>
<column width=‘0’ type=‘ro’ align=‘center’ sort=‘str’>StopID_initial</column>
<column width=‘0’ type=‘ro’ align=‘center’ sort=‘str’>Status</column>
</head>
<row id=‘97’>
<cell>27</cell>
<cell>21:00</cell>
<cell>00:00</cell>
<cell>00:00</cell>
<cell>00:00</cell>
<cell>00:00</cell>
<cell>27</cell>
<cell>o-o-o-o-o</cell>
</row>
<row id=‘100’>
<cell>40</cell>
<cell>12:33</cell>
<cell>00:00</cell>
<cell>00:00</cell>
<cell>00:00</cell>
<cell>00:00</cell>
<cell>40</cell>
<cell>o-o-o-o-o</cell>
</row>
<row id=‘107’>
<cell>31</cell>
<cell>12:11</cell>
<cell>00:00</cell>
<cell>00:00</cell>
<cell>00:00</cell>
<cell>00:00</cell>
<cell>31</cell>
<cell>o-o-o-o-o</cell>
</row>
<row id=‘109’>
<cell>18</cell>
<cell>12:14</cell>
<cell>00:00</cell>
<cell>00:00</cell>
<cell>00:00</cell>
<cell>00:00</cell>
<cell>18</cell>
<cell>o-o-o-o-o</cell>
</row>
<row id=‘110’>
<cell>39</cell>
<cell>12:56</cell>
<cell>00:00</cell>
<cell>00:00</cell>
<cell>00:00</cell>
<cell>00:00</cell>
<cell>39</cell>
<cell>o-o-o-o-o</cell>
</row>
<row id=‘116’>
<cell>35</cell>
<cell>00:00</cell>
<cell>00:00</cell>
<cell>00:00</cell>
<cell>00:00</cell>
<cell>00:00</cell>
<cell>35</cell>
<cell>o-o-o-o-o</cell>
</row>
</rows>

when the alert is executed i get this error:

this._h2 has no properties
[Break on this error] var z=this._h2.get[rowId||0];

mygrid.getOpenState is method of TreeGrid it doesn’t related to plain Grid with sub-grids as in your case.