Hi, I've searched and tried getting this fixed for some hours now, but cannot get it to work.
Hi, I've searched and tried getting this fixed for some hours now, but cannot get it to work.
neha_wawalkar
Posts: 5Questions: 2Answers: 0
can we use cell classes
[https://datatables.net/manual/styling/classes#Cell-classes] to align particular columns to right align on pdf export?
This discussion has been closed.
Replies
See if this thread helps.
Kevin
hey kevin, I have already seen the thread that you have suggested. but what m doing is, I have used colvis button to hide particular columns before exporting. and now on hiding, the column indices that I have got from var rightColumns = this.datatable.columns('thead th.text-right'); remains the same as it was before hiding. which is causing me a problem of array index
We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin