ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
Toggling all checkboxes values in a column
Title:
B
I
{code}
?
I tried looking in the forum and the demos for something like this but I could not find. If it exists I apologize and would love to be directed towards it. My problem is as follows: Say I have a column called "CheckboxToggle" that consists of a checkbox that is either checked or unchecked for each of its rows. Instead of using inline editing and editing each row one by one is there a way to check all of the checkboxes in every single row using some sort of mass inline edit without having to individually check each one? Is this a feature provided by you guys or will I have to write my own javascript to do this? Thank you. @(Html.Awe().Grid("ExampleGrid") .Url(Url.Action("ExampleGridList", "ExampleGrid")) .Columns( new Column { Bind = "CheckboxToggle", ClientFormatFunc = "toggleButton", Header = "CheckboxToggle", Width = 95 } .Mod(o => o.InlineBool(cssClass: "checkbox-toggle"))))
Save Changes
Cancel
Soabdalla
asked 13 days ago
Answers
B
I
{code}
?
Please have a look at these demos: https://demo.aspnetawesome.com/GridCheckboxesDemo https://demo.aspnetawesome.com/MailboxDemo Some custom js is used to check/uncheck all checkboxes in a column, Or in the case of the mailbox all or based on some criteria, like read/unread.
Save Changes
Cancel
Omu
answered 13 days ago
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