Statistics Counter for Last Value in a Column

Is there a statistic counter to get the value of a column on the last row in a grid? I need to retrieve it for a footer row. Is there another easy way to do that?

Thanks.

You can get value of a column on the last row in a grid with following code:

mygrid.cellById(mygrid.getRowId(mygrid.getRowsNum()-1),mygrid.getColumnsNum()-1).getValue()

Sorry, I should have mentioned that I was looking to do this in an XML document. Is there a way to that, Or would I just put that formula in each column? I have a number of columns where I want to do this, so having that formula in each column would make for a long statement or series of statements.

Thanks

In such case you can implement custom statistic counter. Please find more information here docs.dhtmlx.com/doku.php?id=dhtm … s_counters

Ok, Thanks. I did successfully create one and it does what I need. Thanks Again.