Seems I cant figure out anything on my own. Anyway, looking to set a total for a column in the footer. I see examples for the UltraWebGrid but nothing for the WebDataGrid. Thanks.
Hello,
At this time the WebDataGrid does not support this feature. It will be included in future version of the control.
You can use a template within the column footer that can display total of that column.
-Taz.
I am trying to update the footer (during editing) by utilizing Javascript on the CellChanged event but need to know how to access the Footer row in CSOM.
If that cant be done, any other way on keeping the footer template label updated?
Btw, I'm using Clientside event because the server-side ActiveCellChanged and/or CellSelectionChanged events dont seem to be firing when I changed cells.
Actually, instead of using a template you can directly use the "Text" of the footer to set a display value within the columns footer. In Javascript, you can capture the footer element using the "_footerElement" property off of the column object. But, this is an internal property at the moment. I will put it as a feature request so that this is supported as a public property so that it can be used for cases like this.
var
var col = grid.get_columns().get_column(0);
col._footerElement.innerText = "New Value";
Thanks! That worked.
Is there a way to access the footer text in the server-side code? I need to calculate and fill the footer totals after data binding.