How do I format data (e.g. in GridViewDataColumn) to have a "%" prefix?
We do not want the value to be multiplied by 100 (e.g. when user enters "1", it should show "1%" instead of "100%")
Also, when data is null, it should show an empty field, "", instead of "%".
Thank you,
Jan
1 Answer, 1 is accepted
0
Stefan
Telerik team
answered on 12 Dec 2018, 11:49 AM
Hi Jan,
A possible solution for achieving this is to apply an IValueConverter to the DataMemberBinding of the column. You can also take a look at the Value conversion with IValueConverter article for more detailed look over the approach. Would this be a feasible solution for you?
Regards,
Stefan
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.