In KendoReact Grid, is there a way to flag a column as type "Number"?

1 Answer 55 Views
Grid
Youniss
Top achievements
Rank 1
Iron
Youniss asked on 14 Oct 2024, 04:00 PM

Hello,

We would like to use the Grid to show numbers.

We have a column named `Maximal value`, which only displays numbers.

We have already used the following features from the grid:

  • To sort the data correctly, we use the props `filter="numeric"` on the column
  • To align the numbers to the right, we use the grid Custom Cell

I found this question from 2019, which relates a lot to our requirements.

Is there a built-in column type "Number" in the grid which proposes all the built-in features regarding numbers?

We wouldn't like to miss on a built-in feature commonly used by the users, just because the Grid doesn't recognize the column as a number.

Something like type="numeric" in the column props.

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 16 Oct 2024, 11:15 AM

Hi Youniss,

Thank you for contacting us.

The type of the underlying data is relevant for filtering only, which is why the this is set to the column through the "filter" property. You can also apply a format for the numeric values through the "format" property of the column. All of the other requirements can be achieved through custom cells or custom filter components. 

If you have any specific need for having a numeric type for the column that is not fulfilled with the "filter" property, please provide more information.

 

Best Regards,
Konstantin Dikov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Grid
Asked by
Youniss
Top achievements
Rank 1
Iron
Answers by
Konstantin Dikov
Telerik team
Share this question
or