Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by richard white on Mar 11, 2009 07:17
open dhtmlx forum
footer for counting rows in grid

hi

i am using your function for counting rows in a tree grid and works really well:

mygrid.attachFooter('Count:,{#stat_tree_count},#cspan');

however if i try to use this on a grid (not a tree grid) then i get the following error:

this._h2 is undefined
_in_header_stat_tree_count_leaf()()dhtmlxtr...filter.js (line 38)
_stat_in_header()()dhtmlxtr...filter.js (line 41)
ev()()dhtmlxgrid.js (line 661)
ev()()dhtmlxgrid.js (line 661)
load()()dhtmlxgrid.js (line 776)
waitLoadFunction()()dhtmlxcommon.js (line 15)
[Break on this error] return this._maskArr[i]?this._aplNF(sum...rEachChild(0,function(el){count++},this)

do you have a similar function for use in grids

thanks
Answer posted by dhxSupport on Mar 11, 2009 09:45