Is there any way to hide a column from the field list in the toolbar?
My tool-bar is exactly as per the sample.
I have a grid column that contains some action buttons. I want this to be visible and not listed in the Fields list.
My column is defined as:
cols.Add().WithColumnName("EditLink") .WithSorting(false) .WithHeaderText("") .WithHtmlEncoding(false) .WithValueExpression((p, c) => c.UrlHelper.Action("Edit", "Controls", new { id = p.control_id })) .WithValueTemplate("<a href='{Value}'>Edit</a>");
Is there any way to hide a column from the field list in the toolbar? My tool-bar is exactly as per the sample.
I have a grid column that contains some action buttons. I want this to be visible and not listed in the Fields list.
My column is defined as:
cols.Add().WithColumnName("EditLink") .WithSorting(false) .WithHeaderText("") .WithHtmlEncoding(false) .WithValueExpression((p, c) => c.UrlHelper.Action("Edit", "Controls", new { id = p.control_id })) .WithValueTemplate("<a href='{Value}'>Edit</a>");
I've also tried including this with no luck:
.WithVisibility(true, false)
Is this possible?