This is a migrated thread and some comments may be shown as answers.

format gridnumeric column as KB, MB, GB ?

1 Answer 178 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Rutger Buijzen
Top achievements
Rank 2
Rutger Buijzen asked on 08 Apr 2014, 03:50 PM
Hi,

I have a RadGrid with some numeric columns that contain values that represent bytes.

I was wondering if RadGrid has some built in function to format RadGrid column values as KB, MB, GK depending of the number of bytes? (much like windows explorer does in the ""Size" column of the files grid)?



Thanks in advance,

Rutger

1 Answer, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 09 Apr 2014, 05:01 AM
Hello Rutger,

This type of functionality is not available in Radgrid.
You have to manage this your own.
Let me know if you want any help for same. 

=> You can achieve this thing either using static method or using ItemDataBound event.

Thanks,
Jayesh Goyani
Tags
Grid
Asked by
Rutger Buijzen
Top achievements
Rank 2
Answers by
Jayesh Goyani
Top achievements
Rank 2
Share this question
or