mvccontrib-grid Questions
3
Solved
Lets say I render a Checkbox:
@Html.CheckboxFor(x => x.Checked) // Checked is true by default
ASP will turn that as:
<input checked="checked" data-val="true" data-val-required="The field ...
Subsequence asked 12/10, 2012 at 6:39
1
Solved
MVCContrib Grid:
@model ViewModel
@using (Html.BeginForm("SendData", "Home", FormMethod.Post))
{
@Html.Grid(Model.List).Columns(c =>
{
c.For(x => x.Id);
c.For(x => x.Name);
c.For(x =...
Oswaldooswalt asked 28/10, 2012 at 16:54
2
I'm trying to build a custom column for an MVCContrib grid, but an getting tripped up by the Razor syntax. Here is my code for building a custom column:
@{Html.Grid(Model).Columns(column =>
{
...
Primus asked 11/3, 2011 at 23:52
2
Solved
I need to conditional formatting a cell value based on a boolean value in the model.
I have the column col.For(item => item.Detail);
If item.Unfinished I need to apply some css style
How can I do t...
Asymmetry asked 23/1, 2011 at 14:34
1
Solved
I have the view :
<%= Html.Grid(Model.data).Columns(column => {
column.For(x => x.results)
.Action(item => Html.ActionLink(item.results,"Edit").ToString(),
item => Html.TextBox("r...
Spermaceti asked 4/4, 2011 at 20:53
1
Solved
I am tinkering with the MVCContrib Grid and am stuck on how to format a row of data in the grid based on the data.
For example, say we have a grid of products, where each product has data fields l...
Fluorescein asked 11/1, 2011 at 20:54
1
Solved
I'd like for my column header to also be footers using MVCContrib grid. How can I add footers?
<% Html.Grid(Model).Columns(col =>
{
col.For(c => c.sub_id).Named("Id");
col.For(c => c.n...
Abshire asked 25/2, 2010 at 21:42
1
© 2022 - 2024 — McMap. All rights reserved.