Good I would like to know how to add the value that comes from the model to a textbox
that is in the row of a table, in Devexpress this is the code that I have I need a line of code if I am not wrong it is something like content.Column
but I do not remember the rest and I do not find it I appreciate any help thanks.
settings.Columns.Add(c =>
{
c.FieldName = "Unidades";
c.ColumnType = MVCxGridViewColumnType.ComboBox;
c.HeaderStyle.HorizontalAlign = HorizontalAlign.Center;
c.SetDataItemTemplateContent(content =>
{
Html.DevExpress().TextBox(set =>
{
set.Name = "TxtUnid" + content.VisibleIndex;
set.Text = content.Column;
set.Width = 40;
}).Render();
});
});