Extjs6 grid動態數據插入數據並置頂

筆記:.net

參考博客 http://blog.csdn.net/sunpeng_sp/article/details/54021505blog

用Extjs6作動態數據插入,可是一直沒有辦法置頂,感謝上面的博客,問題已解決。get

store.insert(0,data);博客

grid.getView().refresh();
grid.getView().focusRow(0, 0);class

相關文章
相關標籤/搜索