ViewModels for various Widget types

1 posts, 0 answers
  1. Ed
    Ed avatar
    8 posts
    Member since:
    Jul 2013

    Posted 08 Aug 2013 Link to this post

    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.
Back to Top