Trying to sync gridsuggest with DataCollection. But I failed.
{
view: "combo", name: "product_id", label: "Kod", id: "product_combo", options: {
view: "gridsuggest",
body: {
columns: [
{id: "name", header: "Ürün", width: 100},
{id: "unit_price", header: "Birim Fiyatı", width: 250, format: webix.i18n.priceFormat}
],
scroll: true,
autoheight: false,
yCount: 5,
data: products,
},
template: function (item) {
return item.name;
}
}
}
products is my DataCollection. What’s the best way to sync them?