Sorry This has not been implemented so far. I would like your feedback, in case of paging should the totals be for the entire data or just the current page.
In the meanwhile you can implement this feature by computing the totals row and using it to draw the table, however set the 'sort' option to 'event' so that the table is not sorted automatically. Upon a sort event perform the relevant sort using the dataTable sorting methond and again add the the totals row as the last row before draw. HTH ChartMan On Sep 22, 2011 6:35 PM, "Guillaume" <[email protected]> wrote: > Hi, > > I am looking for the same thing, a total row displayed as a footer so > it won't move when changing the sorting of the column. As this > functionality is not available I am adding an extra row to the table > in which I am calculating the sums. Do you know if there is a nice way > to lock this row so it won't be taken in account in the sorting? > > Thanks > > On Sep 22, 2:47 pm, asgallant <[email protected]> wrote: >> You'll have to code it yourself, then, sorry <:o( > > -- > You received this message because you are subscribed to the Google Groups "Google Visualization API" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to [email protected]. > For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
