bootstrap
bootstrap
I want to adapted the editor Modal style with some more classes and id, because I have some other modals the are already loaded in the html Form.
I read in the forum, that a possible way to change the modal ist $.fn.DataTable.Editor.display.bootstrap.node()
.
I tried with this example to add a class $.fn.DataTable.Editor.display.bootstrap.node('modal').addClass('id');
but I get always the error "Object doesn't support property or method 'addClass'"
the description about the node() did not help me to find my problem. Is there an example where I can understand what I do wrong? Maybe a hint what I should do?
Andreas
This question has an accepted answers - jump to answer
Answers
$.fn.DataTable.Editor.display.bootstrap.node('modal')
returns a node, not a jQuery object.So you'd need to do something like:
Allan