How to change button's style in a form object


I want to change button’s style,I used className to changed,but,it’s always not changed.
please give me one sample



There is no native behavour for this. You have to edit dhtmlx.css manualy.


Can you change the documentation ?
Because this tells us about the className attribute…


Well… :slight_smile:

to change button css permanently you have to edit dhtmlx.css or add your custom one. there is also possibility to attach some css directly to button’s parent container but in this case you also need to add css. but there is no direct functionality like button.setStyle(“good_looking_button”) or button.setStyle(“big_red_cancel”)

would you like to get more explanations with an example?


How to change button text color?
Please explain with example.