Tree inside datatable header multiSelect

Hello, i’m in need of help: I have created a datatable that I need to filter in a particular way. I would need to do something like the following snippets, except in a column header.

https://webix.com/snippet/3b0ebea5
https://webix.com/snippet/5ee23867

Following the first snippet, I need to display each record from the Music category (the equivalent in my case), but not the category itself.
Is it possible to do such a thing?

Hello,

Suggest with a tree inside can be embedded into the DataTable filter as follows:
https://webix.com/snippet/cb650bf3

but not the category itself

Can you please clarify the use-case a bit? If options are not hierarchical (just a plain array), you can just set it as options of the filter without any customization.

Hello! Thank you for your answer! I’ll try to be more accurate:

The snippet you showed is exactly what I need, except all the data inside the filter come from the database:
Well, I have users who belong to an organisation (a working department). organisations and users are both SQL tables, and organisation is a self join table, so every instance can have a parent (accessible with parent_id). I would like to filter the users that are displayed in the datatable using the following pattern:

  • parent organisation (working place - bold)
    • children organisations (working departments)