简体   繁体   中英

Enable/Disable button in the gridx

I am trying to set several button disabled in the gridx. (Using dojo gridx 1.3) The button in the gridx has two state(enable state and disabled) and it changes based on the conditions. I am investigating CellWidget demo now. But I could not find the good way to set the states of button in the gridx. http://oria.github.io/gridx/demos/cellWidget.html

Is it possible to disable the specific button in the gridx.

I found how to disable the button in the CellWidget. "disbaled" property can disable the button. Thank you.

this.btn.set('disabled', true);

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM