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

auto update html grid

1 Answer 72 Views
Grid
This is a migrated thread and some comments may be shown as answers.
re
Top achievements
Rank 1
re asked on 05 Feb 2013, 09:17 AM
Hi,
first, im sorry for my bad english.

I have a grid and a model. I bind dataSource of grid to model.items.
but when i update model grid dont update

code:
$(document).ready(function(){
   var model=new MyModel();
   ko.applyBindings(model);
   $("#grid").kendoGrid({
      dataSource:{
         data:model.items(),
         pageSize:10
      },
      ...
   });
});

if i use bellow code all thing is ok. and when i update my model
grid update
<div data-bind="kendoGrid:{data:items}"></div>

1 Answer, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 06 Feb 2013, 05:11 PM
Hello,

It looks like that you are using Kendo-Knockout. I would like to remind you that this is not Telerik's product and as such assistance related to it out of the scope of the standard support service.
In case you need further assistance my recommendation is to contact the Kendo-Knockout authors or to ask the StackOverflow community.

Best regards,
Alexander Valchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
re
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Share this question
or