I have a kendo ui grid using the knockout-kendo set.
I have a few custom buttons in one column of the grid i.e. to make a ajax call for edit a entry in another div, delete one or check for an editId to call a function. My problem is, that both events fired twice! Besides for me it looks like dataBound
event and dataBinding
event is the same.
Heres a fiddle
this.dataBound = function(){
alert('dataBound');
};
this.dataBinding = function(){
alert('dataBinding');
};
I tried some different approaches.
Heres another fiddle
this.gridConfig = {
data: self.myData,
datasource: {
data: 'data'
},
dataBound: function(){
alert('dataBound');
},
dataBinding: function(){
alert('dataBinding');
},
};
Events are fired when the grid is bound, and when the data is bound. But how can I get sure, to get only an Event when all data is there?
Does anyone know whats going on there? BTW I using the mapping plugin.