DataSource in ViewModel does not equal bound DataSource from a grid

3 posts, 0 answers
  1. Michael
    Michael avatar
    11 posts
    Member since:
    Feb 2013

    Posted 14 Feb 2017 Link to this post

    Hello,

    if i bind a datasource with mvvm to a grid through the data-bind attribute and for example try to trigger manually the read method of the datasource it seemed that it has no effects on the grid. Now i compared the viewmodel datasource with the datasource from the grid and they did not match. Why is this so? 

    Thanks in advance

    Michael

  2. Tsvetina
    Admin
    Tsvetina avatar
    2481 posts

    Posted 15 Feb 2017 Link to this post

    Hi Michael,

    I tried reproducing the issue in the following Dojo, but the Grid is updated when I trigger a remote action on the DataSource:
    http://dojo.telerik.com/@tsveti/IbowI/4

    Can you modify my Dojo until it starts reproducing the issue at hand, or send me a Dojo of your own to take a look at?

    Regards,
    Tsvetina
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. Michael
    Michael avatar
    11 posts
    Member since:
    Feb 2013

    Posted 16 Feb 2017 Link to this post

    Hi Tsvetina,

    thanks for the quick response. I think i have found the problem. It was my mistake. We  use mutliple viewmodels and i have tried to access the wrong one -.-

    Many thanks

    Michael

Back to Top