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.
Check a checkbox icon for a span UI element
Re: Check a checkbox icon for a span UI element
I am going to use class if class value is not checked, then do click.