I wrote the following code, which "works", in that checkbox.indeterminate is set to true. However, the checkbox still displays as plain unselected. (Tested under Chrome's debugger, so I know the status was set).
Any idea why it's not displaying correctly?
/**
* JavaScript to give an ID'd element in a form the focus
*
* @param checkbox Element to manipulate
* @param indeterminate True if indeterminate, false if not
*/
public static native void setIndeterminate (Element checkbox, boolean indeterminate) /*-{
checkbox.indeterminate = indeterminate;
}-*/;