GridViewSettings.SetPreviewRowTemplateContent(String) Method
In This Article
Allows you to specify a preview row template.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
content | String | A string value specifying the template content. |
#Remarks
@Html.DevExpress().GridView(settings => {
settings => {
settings.Name = "gridView";
...
settings.SetPreviewRowTemplateContent("<span style='color:red'>test</span>");
...
}).Bind(Model).GetHtml()
#Online Demo
See Also