I am trying to hide the PrimaryKeyId of a value using the hidden property but when I place hidden on the column model, it does not render even as a hidden value. If I remove the hidden property from the column model then the value is visible. What am I am missing here?
obj.colModel = [{ title: "Code", width: 100, dataIndx: "SpecialityCode", dataType: "string" },
{ title: "Description", width: 400, dataIndx: "Description", dataType: "string" },
{ title: "SpecialtyId", hidden: true, dataIndx: "SpecialtyId", dataType: "integer" }];
Here's the html for a record, it does not render the SpecialtyId or third column.
<tr pq-row-indx="3" class="pq-grid-row">
<td class="pq-grid-number-cell ui-state-default">4</td>
<td class="pq-grid-cell " pq-col-indx="0">AMB</td>
<td class="pq-grid-cell " pq-col-indx="1">Services</td>
</tr>