Update sourcecollection if new data is different

Posted by: grapecity on 2 October 2017, 3:00 pm EST

  • Posted 2 October 2017, 3:00 pm EST

    Is there a way to update the sourcecollection only if the new data is different and if the data is different only update that one row (s)

    What we are seeing is the grid flashes when the New data gets in from the subscription as it reloads all the data.

    We are also dynamically creating the grids that are on the page.

  • Posted 3 October 2017, 8:41 pm EST

    Hi Andy,

    This could be done but we need to compare each row and push or update data in source collection as per need.

    Please elaborate your requirement so that we can assist you precisely.

    Thanks,

    Manish Kumar Gupta

  • Posted 4 October 2017, 2:34 am EST

    Manish,

    I am working on our phone system data and we are in queues and every 20 seconds I check the API to see if anything has changes. From that data I don’t want to empty the sourcecollection and reapply the same data if nothing or only 1 thing has changed.

    I was looking at the comparing of all of the data then replacing it with new if different.

    Thank You

    Andy

  • Posted 8 October 2017, 5:50 pm EST

    Hi Andy,

    We are sorry, you need to compare for each record and do replace or add action needed.

    Alternatively, you can replace complete data in sourceCollection this will preserve your applied sorting,grouping or filtering.

    ~Manish Kr Gupta

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels