Custom header - multiple checkboxes and actions

Could I get some direction as to how I would go about having a custom header that would allow a user to select 1->n checkboxes and have the corresponding rows displayed?

The idea is:

  1. all would turn on all of the checkboxes
  2. user could select a single checkbox
  3. user could select two or more checkboxes

The header would look something similar to this
https://snippet.webix.com/8q8kx3db

This seems to be equivalent to what I’m looking for, unless there is another method.

https://docs.webix.com/datatable__filtering.html#servermultiselect