neokoenig / jQuery-gridmanager

A way of building rows and grids with built in editable regions; requires jQuery, jQueryUI, Bootstrap 3.x, & optional TinyMCE or CKEditor
http://neokoenig.github.io/jQuery-gridmanager/
461 stars 129 forks source link

How to turn-off /hide the top bar (that has 12/8-4/6-6 etc. sizes) #54

Closed KrishnaPG closed 9 years ago

KrishnaPG commented 9 years ago

Would like to retain the right-hand side preview/markup buttons on the top, but turn-off the size buttons on the left-top - how to do it?

neokoenig commented 9 years ago

Two ways:

1) Just hide via CSS: #gm-addnew {display:none;}

2) Or pass in an empty array to controlButtons

$("#mycanvas").gridmanager({
     debug: 1,
    controlButtons: []}
);
KrishnaPG commented 9 years ago

Thanks much @neokoenig It is very helpful.