The toolbar can contain different DevExtreme widgets other than buttons and select boxes. Assign the widget's name to the widget option and configure it in the options object. In this case, you need to implement all the logic.
You can find an example in the widget description or the following demo:
We appreciate your feedback.