javascript - Duplicate entries in webix datatable when changing state of ui-router in angularJs -
i having problems webix datatable.
i boulding application angularjs , ui-router webix integration.
when refresh site, o.k. when redirect view datatable load duplicate entries.
i using webix , firebase extensions.
i think somehow related angular please answer.
thanks!
most have problem data ids. webix widgets may render data twice if .load called twice , each time data different ( or missed ids ) loaded.
if have .load somewhere in code, try prepend .clearall call
grid.clearall();//delete existing data grid.load("some");//load new data
Comments
Post a Comment