Good afternoon.
I have a WebGrid and would like to leave a column invisible. How could I do that?
This is the grid:
@{
Layout = null;
WebGrid grid = new WebGrid(Model);
}
@grid.GetHtml(columns: new [] {
grid.Column("ID_PARAMETER"),
grid.Column("CD_PARAMETER"),
grid.Column("TP_PARAMETER"),
grid.Column("DS_CONTENT"),
grid.Column("DT_UPDATE"),
grid.Column("Edit", format: @<text> @Html.ActionLink("Edit", "EDITMOBILEDATA",
new{id = item.ID_PARAMETER})</text>),
grid.Column("Delete", format: @<text> @Html.ActionLink("Delete", "DELETEMOBILEDATA",
new {id = item.ID_PARAMETER})</text>)
})
I would like to hide the ID_PARAMETER column.