DataTable Example:
(1)Add custom button
"buttons": [{"text": ' Custom Button',
"action": function () {
alert("Custom Button Clicked");
}
},
(1)Add custom button
"buttons": [{"text": ' Custom Button',
"action": function () {
alert("Custom Button Clicked");
}
},
]
(2) Button Menu
"buttons":[
{
extend: 'collection',
text: 'Menu',
className: "menuMain",
autoClose: true,
buttons: [
{
text: 'Item 1',
action: function () {
alert("Item 1 Selected");
}
},
{
text: 'Item 2',
action: function () {
alert("Item 2 Selected");
}
}
]
},
]
(2) Button Menu
"buttons":[
{
extend: 'collection',
text: 'Menu',
className: "menuMain",
autoClose: true,
buttons: [
{
text: 'Item 1',
action: function () {
alert("Item 1 Selected");
}
},
{
text: 'Item 2',
action: function () {
alert("Item 2 Selected");
}
}
]
},
]
No comments:
Post a Comment
Your feedback is always appreciated. I will try to reply to your queries as soon as time allows.Please don't spam,spam comments will be deleted upon reviews.