|
Title: Datagrid switchbutton editor Post by: battlezad on July 16, 2015, 12:16:04 AM Hi,
is it possible to extend datagrid editors with switchbutton? Thanks in advance, btz Title: Re: Datagrid switchbutton editor Post by: jarry on July 16, 2015, 01:31:50 AM Yes, please try this:
Code: <script type="text/javascript"> Title: Re: Datagrid switchbutton editor Post by: battlezad on July 16, 2015, 01:52:08 AM Thank you very much! :)
Title: Re: Datagrid switchbutton editor Post by: battlezad on July 17, 2015, 01:36:29 AM Is setValue supposed to work like
$('#sbtn').switchbutton('setValue', 'on'); $('#sbtn').switchbutton('setValue', 'off'); Title: Re: Datagrid switchbutton editor Post by: jarry on July 17, 2015, 07:08:42 PM If you wish to set the 'on' and 'off' values on the 'switchbutton' editor, please try the code below:
Code: <script type="text/javascript"> |