Pre-select a button select option

On the button select example here you can see a standard select button with several options.
If you select one of those options, an action can be performed and the option is highlighted.
I want to create a page, where data is loaded for one of those options by default. So I would like to highlight that option to indicate what the user is viewing. They can then choose other options, which will then be highlighted as usual.

This would be similar to the 1 of html.

Can this be done with DHTMLX or do I have to write some complex code to apply the tr_btn_selected class to the row myself?

You can try the approach from attached sample. It is a little tricky, but may be it will suit you (442 KB)


Thank you very much

You are welcome!