Skip to content

Handle datetime/timezone in AbpExtensibleDataGrid component. #22832

@maliming

Description

@maliming

Waiting for Megabit/Blazorise#5619

Currently, we can use ValueConverter.

new TableColumn
{
    Title = L["CreationTime"],
    Data = nameof(IdentityUserDto.CreationTime),
    ValueConverter = (item) => Clock.ConvertToUserTime((item as IdentityUserDto)!.CreationTime).ToString(CultureInfo.CurrentCulture),
    Sortable = true,
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions