Get row selected summary on print
Get row selected summary on print
Hi
I try to get summary on print using
{
extend:'print',
text: 'Imprimer',
exportOptions: {
columns: ':visible',
title: 'Données en date du '+GetDateFr(),
messageBottom: GetAmountSelected()
}
},
but GetAmountSelected() is executed at button show, not at button click....
Perhaps using not extend but onclick and then call print with computed values ?
If somebody did it...
Thanks
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
This example shows how to use the title and messages as functions. First problem is you have both
title
andmessageBottom
inside theexportOptions
setting. They don't go there and should be at the same level asextend
. Second is you probably will need to do something like this:Kevin
Hi @kevin
Yes of course..
And msimatch placing... must not be in exportOptions:.
Thanks
Bob