BootstrapGridViewTemplatesBuilder<TModel>.DataItem(TemplateContentCallback<BootstrapGridViewDataItemTemplateContainerSettings<TModel>>) Method

Sets a template for displaying data cells.

Namespace: DevExpress.AspNetCore.Bootstrap

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

Syntax

public BootstrapGridViewTemplatesBuilder<TModel> DataItem(TemplateContentCallback<BootstrapGridViewDataItemTemplateContainerSettings<TModel>> templateBlock)

Parameters

Type Name Description
TemplateContentCallback<BootstrapGridViewDataItemTemplateContainerSettings<TModel>> templateBlock

Returns

Type Description
BootstrapGridViewTemplatesBuilder<TModel>