ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
bootstraptoggle button not working in grid inline edit
Title:
B
I
{code}
?
Hi, I am trying to make the inline edit in the grid using bootstrap toggle button as the ui for checkbox. I already managed to make the checkbox working based on previous post but the toggle button works anywhere else but in the inline edit. I can manually change it into togglebutton using jquery in the console, but I don't know how to automate that code every time after Edit is being clicked.
Save Changes
Cancel
Sean
asked at 30 Sep 2015
Answers
B
I
{code}
?
UPDATE: in the latest version there is the Otoggl control which can be used instead: https://demo.aspnetawesome.com/FormInput#Otoggl --- add this js to your page: $(function () { $(document).on('aweinlineedit', function () { $(this).find(":checkbox").bootstrapToggle(); }); });
Save Changes
Cancel
Omu
answered at 30 Sep 2015
This is working perfectly, thanks!
at 02 Oct 2015
Xu Yuan
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK