編輯 Ext 表格(一)——— 動態添加刪除行列

1、動態增刪行 在 ext 表格中,動態添加行主要和表格綁定的 store 有關, 經過對 store 數據集進行添加或刪除,就能實現表格行的動態添加刪除。   (1) 動態添加表格的行  gridStore.add({});   (2) 動態刪除表格的行  gridStore.removeAt(gridStore.count() - 1);   2、動態增刪列 在 ext 表格中,動態添加列主要
相關文章
相關標籤/搜索