jquery-bootgrid
jquery-bootgrid copied to clipboard
How can I add custom button into the actions template?
Is there any way to add custom buttons into the actions template? I hope to put the btn-search button into the {{css.actions}} parts.
templates: {
header:
"<div id=\"{{ctx.id}}\" class=\"{{css.header}}\">" +
"<div class=\"row\">" +
"<div class=\"col-sm-12 actionBar\">" +
"<!--Your Button goes here-->" +
"<div class=\"btn-group inline pull-right\">" +
"<div><button type=\"button\" id=\"btn-search\" class=\"btn btn-info\">Sarch</button></div>" +
"</div>" +
"<div class=\"{{css.actions}}\"></div>" +
"</div>" +
"</div>" +
"</div>" +
"</div>"
}
try out http://gijgo.com/grid/demos/jquery-grid-bootstrap