I have a radgrid where every column begins with a date (first row is a date).
Is there a way to set a date formatting for a Row within a RadGrid?
Thank you
1 Answer, 1 is accepted
0
Viktor Tachev
Telerik team
answered on 19 Jan 2016, 01:26 PM
Hello,
If you would like to change the appearance of some cells in RadGrid based on their value you can use the ItemDataBound event. Check out the following article that describes the approach in more detail.
With that said, please note that it is not recommended to have fields with mixed data types (e.g. Date and number). This would require you to make the type of the field string. Thus, you would need more complex logic to operate with that data.
If this is the case it is recommended to change the structure of the database so that only one value type is present in a given field.
Regards,
Viktor Tachev
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items