Hello
how to display a currency Value in an iggrid without showing the decimal value if the decimal doesn't contain any fraction. in an MVC application.
Best Regards
Pradeep
Hello Pradeep,
I have been looking into the issue that you are describing still I am not sure that I understand your scenario. Would you please provide me with the code that you use for creating the igGrid columns, also did you use the rowTemplating functionality of the igGrid?
Thanks in advance.
hi Elena,
Thanks for your reply, i used the currency formatter as it is given in the example, but the masking is not displaying for the currency filed, and also I have used a string field which contains a break line "<br />" . if i am using the "template" option then the "<br />" is displaying instead of it is breaking the lines.
Thanks and Best Regards
You can try our column formatter functionality in order to achieve this. Using this approach you can just specify a function for the formatter property of your decimal column, and in this function you can format the value the way you want. For additional reference on this matter you could check:
http://es.infragistics.com/products/jquery/sample/grid/column-formatter
If you need any additional assistance on this please let me know.