ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
How to remove ColumnsSelector() on perticular column
Title:
B
I
{code}
?
@(Html.Awe().Grid("VacancyGrid") .Mod(o => o.PageInfo().PageSize().ColumnsSelector().ColumnsAutohide()) .Url(Url.Action("GridGetItems", "MyVacancy", new { VacStatus = ViewBag.VacStatusParam, IsVacancyConflict = ViewBag.ConflictVacancyParam })) .PageSize(50) .Height(730) .Selectable(SelectionType.Multiple) .SingleColumnSort(true) .Columns( new Column { Name = "JobTitle", Header = "Vacancy Name", PercentWidth = 27, CssClass = "VacTitle", Group = Model.objVacancyGrouping.IsJobTitleGrouping }, new Column { Header = "Action", ClientFormatFunc = "GetAction", PercentWidth = 12, CssClass = "VacAction" }, new Column { Name = "Applicants", Header = "Applicants", PercentWidth = 7, ClientFormatFunc = "GetApplicants", CssClass = "VacCol VacApplicants", Group = Model.objVacancyGrouping.IsApplicantsGrouping})) I Have need to remove column selector on "Action" column
Save Changes
Cancel
Rutul Patel
asked at 31 Mar 2017
Answers
B
I
{code}
?
you need to add mod nohide for the column new Column{ ... }.Mod(o => o.Nohide())
Save Changes
Cancel
Omu
answered at 31 Mar 2017
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK