Dear All , using below code we can hide the columns in grid view and same the value in share point list using J Query code or C# code.
Value Life cycle will remain same as visible columns
.hiddencol
{
display: none;
}
<asp:BoundField DataField="legal_hold" HeaderText="Legal hold" ItemStyle-CssClass="hiddencol" HeaderStyle-CssClass="hiddencol" />
Value Life cycle will remain same as visible columns
.hiddencol
{
display: none;
}
<asp:BoundField DataField="legal_hold" HeaderText="Legal hold" ItemStyle-CssClass="hiddencol" HeaderStyle-CssClass="hiddencol" />
Comments
Post a Comment