jquery-bootgrid icon indicating copy to clipboard operation
jquery-bootgrid copied to clipboard

How can I add custom button into the actions template?

Open liushoukai opened this issue 7 years ago • 1 comments

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>"
}

liushoukai avatar Mar 02 '17 06:03 liushoukai

try out http://gijgo.com/grid/demos/jquery-grid-bootstrap

stvowi avatar Sep 22 '17 22:09 stvowi