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

Thousand Separator in SearchCell

1 Answer 151 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Shohar
Top achievements
Rank 1
Shohar asked on 20 Apr 2016, 08:57 AM

My radGridView numerical columns have thousand separator so I have to put a ',' when I search the grid cells using search row. How can I setup the grid so its search cell has thousand separator when I am looking for numerical values?

My numerical columns values are 5 decimal point:

123.12345

123.1234

123.123

123.12

123.1

123

0.123

and so fourth...

1 Answer, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 20 Apr 2016, 04:19 PM
Hello ,

Thank you for writing.

In order to achieve this task, you would need to create a custom search cell having a RadMaskedEditBoxElement as a child. Then you would be able to set a thousand separator mask to this element.

I am sending you attached a project demonstrating a sample implementation. I am also sending you a gif file showing the result on my end.

I hope this helps. Should you have further questions please do not hesitate to write back.

Regards,
Hristo Merdjanov
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
GridView
Asked by
Shohar
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Share this question
or