3

I have a table as part of a form for which users can click the header row to sort by that column (and click again to reverse order). The table also contains checkboxes, and clicking the checkbox in the header row checks or unchecks all checkboxes below.

Table with sorting options and checkboxes

However, there is also the case that the user may want to order by whether a checkbox is checked or unchecked. What is the best practice to enable this sort while also preserving the ability to check / uncheck all?

2 Answers 2

4

If you want to sort of the selection, then you should go ahead and add a label to the field. Else, you will be breaking your system's consistency.

mockup

download bmml source – Wireframes created with Balsamiq Mockups

0

You can use the Check All / Select All button just above or below the table which will enable the user to select all the contents.

The functionality of sorting by date will be kept same as in now. In this way you an achieve both the objectives.

1
  • You misunderstood the question, the problem is with sorting the selection, not sorting by date.
    – rk.
    Jun 17, 2013 at 3:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.