Open modal box with buttons extension
Open modal box with buttons extension
vatco
Posts: 7Questions: 4Answers: 0
Hi,
I'm trying to open a modal box with buttons extensions but i didnt found any working example.Could someone give me a hint how to create the return function.Thanks!
{
text: 'Add new company',
render: function ( e, dt, node, config ) {
return 'data-toggle="modal" data-target="#myModal">';
}
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
This is Bootstrap is it? Use their API to programatically show and hide a modal.
You would call that method in the
action
callback of your custom button.Allan
Hi Alan,
That was very helpfull. Thank you for the quick response.