Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3275410
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T19:08:28+00:00 2026-05-17T19:08:28+00:00

My situation is: Im making a simple inbox page. The inbox is a listing

  • 0

My situation is: Im making a simple inbox page. The inbox is a listing made from a DevExpress grid. Each row in the grid has a checkbox that the user can check so that they can multi delete records (similar to yahoo mail etc).

When the user clicks the select all link or the clear all link i need to set all the checkboxes within the grid to be checked or unchecked. How do I go about this with client-side scripting? Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T19:08:29+00:00Added an answer on May 17, 2026 at 7:08 pm

    Using jquery it should be pretty easy- assuming you can use one of the selectors to select all of the checkboxes (take a look at the different jquery selectors http://api.jquery.com/category/selectors/).

    Attach a toggle handler:

    $('Selector for the "select all" checkbox>').toggle(function() {
      alert('First handler for .toggle() called.');
    }, function() {
      alert('Second handler for .toggle() called.');
    });
    

    Select all checkboxes and when toggled switch the checked state of the other checkboxes:

    $('<Selector for the ones you want to toggle>').attr('checked', true);
    

    Provide some sample HTML, or a link to a page, if you need further help.

    So putting it together, assuming your “select all” checkbox had an ID of “uxSelectAll” and the ones you want to change have a CSS class of “checkbox-mail-items” it would be something like:

    $('#uxSelectAll').toggle(function() {
      $('.checkbox-mail-items').attr('checked', true);
    }, function() {
      $('.checkbox-mail-items').attr('checked', false);
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Situation: I have a simple XML document that contains image information. I need to
I have an application that has multiple threads processing work from a todo queue.
Here's my situation: I've successfully created a simple PHP webservice to pull data from
I have a simple IRenderable class that has members for position, scaling, and rotation:
So I'm making this android application, that needs to read data from user-provided CSV
While making a sample details page, I just stuck upon a really confusing situation.
Here is the situation: I am making a small prog to parse server log
I'm making an image viewer using openGL and I've run into a situation where
I ran into the situation where my class is making one asynchronous web call
Situation: text: a string R: a regex that matches part of the string. This

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.