Can I remove a button element in a row using something similar to removeClass()?
Can I remove a button element in a row using something similar to removeClass()?
thegamechangerpro
Posts: 81Questions: 30Answers: 1
I inject javascript into my datatables using an outside program that the table is intergrated.
I want to be able to remove or hide a button sort of like I do with classes.
ex.
table.row(rowId).nodes().to$().removeClass('lightPurple');
any tips or suggestion?
Answers
My first thought is to use
createdRow
orcolumns.createdCell
to remove the button.If you still need help then please provide a simple test case showing what you have and details of when you want to remove the button. This will give us the details needed to offer more specific suggestions.
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin