More error prone… really not, but your your example:
this.tools.getItem("my_button").disable();
Works when you know that the next state is disabled. But the setProperties allow change the state directly from a variable without if or ternary operator.
Thanks @sematik, but what I wish is to set the disabled property with the setProperties method. But this is not implemented, disabled is not included in the properties that are affected by setProperties. I guess because setProperties accept an IFormProps not an IFormConfig.
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan