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

ViewModels for various Widget types

0 Answers 36 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ed
Top achievements
Rank 1
Ed asked on 08 Aug 2013, 11:16 PM
I just created my own ViewModel for setting up a Line Chart that I configure with the appropriate settings, AJAX Controller, Action, Event javascript functions, Series Names, etc.  This is so I can easily configure the charts and send them to a common line chart partial page.  This seems to work well for me given that I've got a dashboard page with many charts on it and this seems to be a cleaner (and more flexible) way to do it compared to hardcoding each chart and its setup individually (iterate over the collection of ViewModels and create chart partial page for each one).  I was thinking that it would be nice if Kendo had something like this for us to we wouldn't have to create it ourselves.

My next task is the grid and clearly, there is a lot of complexity there.  I'm hoping I can reuse something that already exists.

Thanks in advance.

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Ed
Top achievements
Rank 1
Share this question
or