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

Sets a template for displaying data cells.

Namespace: DevExpress.AspNetCore.Bootstrap

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

Declaration

public BootstrapGridViewTemplatesBuilder<TModel> DataItem(
    TemplateContentCallback<BootstrapGridViewDataItemTemplateContainerSettings<TModel>> templateBlock
)
Public Function DataItem(
    templateBlock As TemplateContentCallback(Of BootstrapGridViewDataItemTemplateContainerSettings(Of TModel))
) As BootstrapGridViewTemplatesBuilder(Of TModel)

Parameters

Type Name Description
TemplateContentCallback<BootstrapGridViewDataItemTemplateContainerSettings<TModel>> templateBlock

Returns

Type Description
BootstrapGridViewTemplatesBuilder<TModel>

See Also