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

Multiple currencies in Kendo UI Grid

1 Answer 77 Views
Development (API, general questions)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
ketan
Top achievements
Rank 1
ketan asked on 02 Oct 2014, 07:10 PM
Hi,

I am currently using Kendo UI Grid to display all my invoices. I am accessing all the invoices using Ajax call, which is returning json data back and then hooking up it to Kendo.data.Datasource. Everything is working perfectly fine except we have invoices that are in different currencies. I am using format:"{0:c}" to show the currency symbol and currently it is showing in USD. Is there a way if I can show multiple currencies on different rows in the same grid ? It will be nice if you can provide me with some working example.

Thanks
Ketan

1 Answer, 1 is accepted

Sort by
0
Doroteya
Telerik team
answered on 08 Oct 2014, 06:46 AM
Hello Ketan,

The best approach to achieve the outcome you need is to introduce a new column in the invoice table in the database, and to populate it with the type of the currency of the invoice. This way, when you retrieve the invoice objects, you will be able to format what is displayed in the grid as you need.

I hope this helps. If you have further Data Access related questions, do not hesitate to get back to us.



Regards,
Doroteya
Telerik
 
OpenAccess ORM is now Telerik Data Access. For more information on the new names, please, check out the Telerik Product Map.
 
Tags
Development (API, general questions)
Asked by
ketan
Top achievements
Rank 1
Answers by
Doroteya
Telerik team
Share this question
or