Skip to main content

BootstrapGridViewTemplatesBuilder.DataItem(TemplateContentCallback<BootstrapGridViewDataItemTemplateContainerSettings>) Method

Sets a template for displaying data cells.

Namespace: DevExpress.AspNetCore.Bootstrap

Assembly: DevExpress.AspNetCore.Bootstrap.v18.2.dll

Declaration

public BootstrapGridViewTemplatesBuilder DataItem(
    TemplateContentCallback<BootstrapGridViewDataItemTemplateContainerSettings> templateBlock
)

Parameters

Name Type
templateBlock TemplateContentCallback<BootstrapGridViewDataItemTemplateContainerSettings>

Returns

Type
BootstrapGridViewTemplatesBuilder

Remarks

IMPORTANT

Bootstrap Controls for ASP.NET Core are in maintenance mode. We don’t add new controls or develop new functionality for this product line. Our recommendation is to use the ASP.NET Core Controls suite.

See Also