how use oSelectorOpts in TableTools
how use oSelectorOpts in TableTools
fmh14
Posts: 3Questions: 0Answers: 0
Hello,
how use oSelectorOpts to select rows that has css class = "xxxxx" to export it with csv or excel.
thx.
how use oSelectorOpts to select rows that has css class = "xxxxx" to export it with csv or excel.
thx.
This discussion has been closed.
Replies
Allan
1- add option to TableTools.buttonBase ("sCssClass": undefined)
2- i check in "_fnGetDataTablesData": function var cls = oConfig.sCssClass === undefined ? "" : oConfig.sCssClass;
3 - change : .$('tr' + cls, oConfig.oSelectorOpts)
4- call : "sCssClass": ".status_0" in "aButtons"
5- it works fine.
Allan