Check a checkbox icon for a span UI element
Posted: Tue May 12, 2015 10:43 pm
Hi Folks,
I have a check box icon. However the UI element looks like this.
When it is not checked:
<span data-bind="checked: checked, click: $root.TableModel.RowSelectionModel.check, clickBubble:false, closeDropdownsOnClick" class="icon-checkbox"></span>
When it is checked:
<span data-bind="checked: checked, click: $root.TableModel.RowSelectionModel.check, clickBubble:false, closeDropdownsOnClick" class="icon-checkbox checked"></span>
How do I make sure the check box icon is checked. I can set the class to "icon-checkbox checked". However it is checked not by a click, the other UI elements will not be enabled.
I have a check box icon. However the UI element looks like this.
When it is not checked:
<span data-bind="checked: checked, click: $root.TableModel.RowSelectionModel.check, clickBubble:false, closeDropdownsOnClick" class="icon-checkbox"></span>
When it is checked:
<span data-bind="checked: checked, click: $root.TableModel.RowSelectionModel.check, clickBubble:false, closeDropdownsOnClick" class="icon-checkbox checked"></span>
How do I make sure the check box icon is checked. I can set the class to "icon-checkbox checked". However it is checked not by a click, the other UI elements will not be enabled.