|
Title: Customize Radio and Checkbox Controls Post by: bdearborn on December 14, 2015, 07:08:37 PM Can custom control rendering be setup to make radio and checkbox controls look nice like in bootstrap?
http://getbootstrap.com/javascript/#buttons-checkbox-radio Title: Re: Customize Radio and Checkbox Controls Post by: bdearborn on December 14, 2015, 07:09:29 PM JeasyUI support response:
The linkbutton components can act as radio and check buttons. Please refer to: http://jsfiddle.net/yeyfccov/ Title: Re: Customize Radio and Checkbox Controls Post by: bdearborn on December 14, 2015, 07:14:08 PM Is there a way to bind the buttons to an input on a form? Also, it would be great if there were options to get/set items similar to a combo.
getValues setValues getValue setValue Title: Re: Customize Radio and Checkbox Controls Post by: stworthy on December 15, 2015, 12:38:48 AM A function 'makeButtonGroup' can be used to build the linkbutton groups in more easier way. This function will build a hidden <input> element that will be post to the server.
Code: function makeButtonGroup(c, options){Before calling this function, prepare the group elements. Code: <span id="rr"> Calling 'makeButtonGroup' function with 'group' property will build the radio buttons, otherwise build the check buttons. Code: makeButtonGroup($('#rr'), { |