I have a list displaying all the columns in the grid in the following template manner
<ul id="gridColumnList" class="gridColumnList">
<li *ngFor="let col of grid.colModel">
<span><input type="checkbox" class="checkbox col-visibility" **[checked]="!col.hidden"** /></span>
<span><input type="checkbox" class="checkbox col-freeze" [checked]="col.locked" **[disabled]="col.hidden"** /></span>
<span class="col-title">{{col.label}}</span>
</li>
</ul>
I want to change the state of the checkbox input based on the col.hidden value which is a boolean type but the property binding does not work instead if interpolation is used like checkbox = {{col.hidden}} it works. what is wrong with the property binding?