datable show/hide only selected rows (multiselect)

Hi is there a way to use a “show only selected” row toggle button?
I tried with filters but I apply css to the selected rows and the filter clears all css.
I have also inner filters on columns .

in the following snippet
https://snippet.webix.com/3101e0z1
I would like to use the offLabel:“Show Only selected”, onLabel:“Show All” and the type filter and keep the css for the selected rows

Thanks!

Hello @alex257 ,
Here is a related example how to save the selection of the row with filtering
https://snippet.webix.com/lwv9km7r
So there is we check the state of the row (checked or unchecked) and used such methods as removeRowCss if it unchecked and addRowCss if it checked