4
Good afternoon.
I have a Webgrid and would like to leave an invisible column. 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 column ID_PARAMETER.
It would be this here Webgrid grid = new Webgrid(Model);
– Paulo Henrique