• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to Implement a Three-state checkbox?  RSS feed

 
Dino Dino
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
The third state is "half-checked" which means the state no applicable on all selected items. Similar to the "Read Only" file's folder property in Windows File Explorer when part of the files are ead only, the checkbox will appear grey coloured.
Regards
 
Jack Liang
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You mean two state for checkBox.setEnabled(true) on checked and unchecked. Another state for checkBox.setEnabled(false) (grayed)?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!