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

help with save/content share #51

Closed ang3lx closed 9 years ago

ang3lx commented 9 years ago

Hello, I'm trying to share edited content of gridmanager (opened into modal popup), with a textarea (out of modal popup). I added custom button with controlAppend and give .gm-mysave class I can't access "clean" (without grid personal classes) html with this .on action :( $(document).on("click", ".gm-mysave", function(e){ [CODE ?????]
});

can u help me, please?

neokoenig commented 9 years ago

I'm a little confused about exactly what you're trying to achieve, and it's hard to advise without any sample code.

You should look at using gm.deinitCanvas(); - this is the main function which strips out the gridmanger markup. Once you've run deinitCanvas(), then you should be able to grab the contents of your main canvas region via jQuery.

neokoenig commented 9 years ago

Closing due to inactivity, feel free to reopen