I need a tri-state check box. The scenario is like this...
Assume the above are checkboxes. Here if I check any one of the option checkboxes then All checkbox should checked automatically but with gray background color. If all the options are checked then All should be checked and it should be in normal mode. If everything is unselected then All checkbox should get unselected.
I did in the following way.
But I don't know how to change the inner color of checkbox. It is only changing the outer color.