Grid & Toolbar select property add option

Hello

Is there any way to set the selected data generated on the grid or toolbar? For example, the form requires features such as the setOtion method that exists in the Select API.

For adding a new option to the toolbar selectButton please, try to use the add() method of a treeCollection:
https://docs.dhtmlx.com/suite/tree_collection/api/treecollection_add_method/
Here is the example:
https://docs.dhtmlx.com/suite/tree_collection/api/treecollection_add_method/

Unfortunately it is not available to add a new option to the grid select editor. You can only reinitialize a grid with a new config (with the updated select options list) using the setColumns() method:
https://docs.dhtmlx.com/suite/grid/api/grid_setcolumns_method/