auto calculated value

Hi, I try to get the auto calculated footer value with:[1].cells[1].innerHTML

and I get:

, intead of just “0” wich is the value of the calculated value. What am I doing wrong?



Based on used skins the footer cells can have additional HTML markup ( to look in necessary way )
Just use[1].cells[1].firstChild.innerHTML

By the way, if you need such info , just to insert in different HTML zone - you can use built in ability of auto-calculated values, they can be assigned to any html container on the page, not for grid’s footer only. If somewhere on the page you have:
    there are rows in my grid
You can link stat_count to the span element in the following way: