I am having a problem while refreshing the kendo grid, for some reason, the dataBound
event is activated twice, does someone know what could be the problem? or is this a normal behavior?
$("#grid").data('kendoGrid').dataSource.read();
$("#grid").data('kendoGrid').refresh();
UPDATE:
if i remove the refresh line, the dataBound
happens only once
$("#grid").data('kendoGrid').refresh();
dataSource.read()
and it gets data from remote (or may client-side) so first Databound happens, then you callrefresh()
it means bound me again to datasource so second Databound happens. – Iman Mahmoudinasab