gridstack.js icon indicating copy to clipboard operation
gridstack.js copied to clipboard

Buttons Clickable Within Widget?

Open applecrusher opened this issue 11 years ago • 5 comments

Is it possible to have a checkbox clicked from within a widget? If so, how could this be done?

applecrusher avatar Aug 12 '15 02:08 applecrusher

yes it is possible... just put the button/check-box inside the widget!!

h-nazzal avatar Aug 12 '15 06:08 h-nazzal

You can put in any HTML element that you can imagine. An image, a checkbox, an input field. Everything! :smile:

janyksteenbeek avatar Aug 12 '15 09:08 janyksteenbeek

In Chrome 44, this doesn't seem to work for me. I created a table in HTML and I dynamically inserted this as a widget. One of the columns had a checkbox. When I try to click on the checkbox nothing happens because it thinks I clicking on the grid.

applecrusher avatar Aug 12 '15 15:08 applecrusher

Setup a demo (codepen or whatever)

Dnia 12 sie 2015 o godz. 17:15 applecrusher [email protected] napisał(a):

In Chrome 44, this doesn't seem to work for me. I created a table in HTML and I dynamically inserted this as a widget. One of the columns had a checkbox. When I try to click on the checkbox nothing happens because it thinks I clicking on the grid.

— Reply to this email directly or view it on GitHub.

pySilver avatar Aug 13 '15 10:08 pySilver

It should work. It could be jQuery UI problem with your setup

troolee avatar Feb 10 '16 23:02 troolee