Last Updated: 24 Sep 2020 06:15 by ADMIN
Release 2.18.0
Created on: 28 Jan 2020 04:47
Category: Grid
Type: Feature Request
Add attribute Format for Grid column to apply C# standard formats

Please add an attribute to Blazor GridColumn which allows to easily format data with the default .NET standard formats

e.g. <GridColumn Field="@(nameof(Item.Price))" Title="Price" Format="0#.##" />

It's a little bit annoying always having to define a template for this purpose.


Not Logged in

Marin Bratanov
Posted on: 11 May 2020 13:55

Indeed, the DisplayFormat attribute sounds like a cool way to do that. Once we get to implementing this feature, we will consider that as well.


Marin Bratanov
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Posted on: 10 May 2020 13:00
Yes would be great if it could also support DisplayFormat attribute
Posted on: 09 May 2020 19:31
The goal could also be achieved by supporting the DisplayFormat attribute.
Posted on: 15 Feb 2020 22:44
Marin, the numeric format was only a sample - I expected also to work for all standard formats ;-)

Not Logged in

Marin Bratanov
Posted on: 14 Feb 2020 11:53

To add to this, I would also expect that this can work with date formats, not just with numerical formats. Perhaps even string formats (basically, any supported type).