i need the index for the xml:

Is but i don’t want the value inside the cell!!! i need the index
for the xml:  <?xml version=‘1.0’ encoding=‘UTF-8’ ?>
- <rows>
- <row id=‘1’>
  <cell>Jun 1905 12:00:00:000AM</cell>
  <cell id=‘17’>iasi</cell>
  <cell id=‘1’>StopLaConstanta</cell>
  <cell id=‘7’>Pascani</cell>
  <cell id=‘18’>StopLaBotosani</cell>
  <cell>1</cell>
  <cell>1</cell>
  </row>
- <row id=‘2’>
  <cell>Jun 1905 12:00:00:000AM</cell>
  <cell id=‘21’>Iasi</cell>
  <cell id=‘2’>StopLaDD</cell>
  <cell id=‘9’>ccc</cell>
  <cell id=‘22’>StopLaBB</cell>
  <cell>0</cell>
  <cell>0</cell>
  </row>
  </rows>
mygrid.cellById(1,1).getValue() returns iasi , i need it to return the index : 17


cellById ( alias of grid.cells ) return excell object for the cell specified by row_id and column_index
If you need to get not cell value, but some attribute of cell tag you can use
    mygrid.cellById(1,1).getAttribute(“id”); // returns 17

dhtmlx.com/docs/products/dht … _data.html