jQuery UI Widgets › Forums › Lists › ListBox › using checkbox independent of select
Tagged: javascript listbox, jQuery ListBox, jqwidgets listbox, ListBox
This topic contains 6 replies, has 2 voices, and was last updated by edwardsmarkf 6 years, 5 months ago.
-
Author
-
hello –
using this example, is there any way to change the event behavior where when the checkbox itself is clicked, only the ‘checkChange‘ event is executed, but when you click the coffee-name, the ‘select‘ event is executed, and not the checkChange?
it would appear that when
{checkboxes:true}
is selected, thecheckChange
event is executed but not theselect
event.in other words, i would like to see the following (if possible):
-
checkbox clicked: checkbox is toggled,
checkChange
is executed andselect
is NOT executed.
coffee-name clicked: checkbox is NOT toggled,select
event is executed andcheckChange
is NOT executed.Hello edwardsmarkf,
Unfortunately, we do not have such suitable option.
You could try to create a workaround.
As an alternative option is to use stylized jqxGrid with just one column andselectionmode: 'checkboxex'
.Best Regards,
Hristo HristovjQWidgets team
http://www.jqwidgets.comHristo –
what do you think about this?
http://jsfiddle.net/edwardsmarkf/9JdH7/272/
it does not seem too overly-customized.
Hello edwardsmarkf,
I would like to suggest you look at this workaround.
Best Regards,
Hristo HristovjQWidgets team
http://www.jqwidgets.comhello –
thank you very much for your reply. i see that is using a grid, while i need to take advantage of all the terrific features that jqxListBox offers, especially drag-drop reordering.
i would like to know if there is any way to do this without using the global variables:
http://jsfiddle.net/edwardsmarkf/9JdH7/272/
this is probably getting too custom, which you are probably not willing to do, but i thought i would ask just in case. it might make a possible addition to a future customer-submitted “custom-recipe” usage?
eliminated the global variables by storing the flag settings in the
this
variable: -
AuthorPosts
You must be logged in to reply to this topic.