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

[Solved] Proper way to display value with currency in grid information

0 Answers 86 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Piotr
Top achievements
Rank 1
Piotr asked on 08 Sep 2011, 05:03 PM
Hi,
could you please provide me with an example how to properly create a grid column that can display a value with currency information, ie.:
$ 4625.23

My grid has to use ajax binding, that column have to be sortable and I want to filter on the actual value. I want to have number operators like "greater than". Each row can have a value with different currency. How can acheieve that?

The only option I can think of now is to have a property in my class thet will contain currency formated value, but there are problems when it comes to sorting and filtering since grid assumes that it is a string field and all the operators are string specific, ie. "starts with".

I would appreciate help.
Regards
Piotrek
Tags
Grid
Asked by
Piotr
Top achievements
Rank 1
Share this question
or