Completed
Last Updated: 12 Jun 2024 11:29 by ADMIN
Release 2.18.0
Werner
Created on: 28 Jan 2020 04:47
Category: Grid
Type: Feature Request
39
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

7 comments
ADMIN
Hristian Stefanov
Posted on: 12 Jun 2024 11:29

Hi Leland,

Thank you for providing additional information in this public post so other developers coming here can be directly redirected.

Regards,
Hristian Stefanov
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Telerik family, check out our getting started resources!
Leland
Posted on: 07 Jun 2024 17:04
For those coming to this page in the future, more information about the completed feature can be found here:

https://docs.telerik.com/blazor-ui/components/grid/columns/display-format
ADMIN
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.

 

Regards,
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.
Lee
Posted on: 10 May 2020 13:00
Yes would be great if it could also support DisplayFormat attribute
Michael
Posted on: 09 May 2020 19:31
The goal could also be achieved by supporting the DisplayFormat attribute.
Werner
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

ADMIN
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).

--Marin