Hi Silsha,
thank you for a solution.
Just more information :
– Yes I want the first row of table as label ‘table_head’, that now is OK
– and the last row (Footer) as value for PiePercent chart ‘table_footer’
but i add the footer data to Tablepress with
"dom": "WBlfirtip", "footerCallback": function( row, data, start, end, display ) { var api = this.api(), data; var intVal = function ( i ) { return typeof i === 'string' ? i.replace(/[\$,]/g, '')*1 : typeof i === 'number' ? i : 0; }; totalModele = api .column( 3, { page: 'current'} ) .data() .reduce( function (a, b) { return intVal(a) + intVal(b); }, 0 ); totalListe = api.column( 4, { page: 'current'} ).data().reduce( function (a, b) { return intVal(a) + intVal(b); }, 0 ); totalValeur2 = api .column( 5, { page: 'current'} ) .data() .reduce( function (a, b) { return intVal(a) + intVal(b); }, 0 ); $( api.column(3 ).footer() ).html( totalModele ); $( api.column(4 ).footer() ).html( totalListe ); $( api.column(5 ).footer() ).html( totalValeur2 ); $( api.column( 2 ).footer() ).html('Total'); }
Another suggest is it possible to have information over the mousse pointer like GoogleChart Displays tooltips when hovering over slices.
GoogleChart
Displays tooltips when hovering over slices.
Or is it possible to use data TablePress with GoogleChatrs function ?
Thanks
Best regards
Eric