In a data table, each row represents a user. Each user has a status. The status can be different based on the users actions within the organization. It is shown in the data table on a dashboard for monitoring purposes. The status of the user can also be changed from this dashboard.

Some rows are also logically grouped together because the users share some commonalities.

I want to know the best way to implement a batch action mode where each row can have different action associated with it depending on the current status of the user.

In the screenshot below, G is for grouped entries. Groups can have a expanded view (Purple) or a Collapsed View (Pink).

The colored tabs are different statuses which can change from one to the next. Yellow > Green > Dark Gray.

How to deal with a person clicking on the select all checkbox (row header) which results in him selecting entries that have no common actions.

Also as groups are also a part of this, is there a way to show the user that the group selected will also be acted upon even if it is collapsed? Or should I disable the batch selection mode from Group altogether but I still need to keep an option to select all the entries of one single group at the same time as well (which will also pose the same problem with different statuses and different actions available on each status).

enter image description here

  • I suspect that there will be certain features that are suitable for batch action with different context, and there will be ones where this doesn't make much sense and the user should be prevented from being able to do this. You'll have to provide some actual examples of use cases because it is difficult to work out a suitable answer basic on a generic example. – Michael Lai Oct 25 '19 at 4:14
  • To provide more context, it is a visitor management software so each user can either be "expected" (to visit the premises), "checked-in" (after he has entered the premises), "checked-out" (after he leaves the organization), "overstayed" (if he stays for more than the stipulated time. So in each case he can only move from one state to next in a logical order (expected to checked-in, checked-in to checked-out, checked-out can't be acted upon, overstayed to checked-in), Groups work the same way as individual entries but are shown together as they share a common purpose of visit. – arpit982 Oct 26 '19 at 9:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.