On the buttons.exportData() page, at the format.body function, the column index is passed as the second argument, and the row index as the third.
This question has an accepted answers - jump to answer
Thanks! That's actually a bug in Buttons itself - the documentation is correct, that is what it should be. I've just committed the fix and am planning to do a release of Buttons later today.
It looks like you're new here. If you want to get involved, click one of these buttons!
DataTables designed and created by SpryMedia Ltd.
SpryMedia Ltd is registered in Scotland, company no. SC456502.