Thousand Separator in SearchCell

2 posts, 0 answers
  1. Shohar
    Shohar avatar
    1 posts
    Member since:
    Apr 2016

    Posted 20 Apr Link to this post

    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...

  2. Hristo
    Admin
    Hristo avatar
    716 posts

    Posted 20 Apr Link to this post

    Hello Shohar,

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top