をドロップ:AG-グリッド行のドラッグと私は私のAG-グリッドにこのコードを含めていたドラッグ可能なエラーで
this.gridOptions = <GridOptions> {
processRowPostCreate: (params) => {
console.log(params.eRow.draggable);
},
};
をしかし、私はそれをコンパイルした後、それは私に、このエラーを与える:
ERROR TypeError: Cannot read property 'draggable' of undefined at processRowPostCreate (vessel-table.component.ts:51) at RowComp.webpackJsonp../node_modules/ag-grid/dist/lib/rendering/rowComp.js.RowComp.executeProcessRowPostCreateFunc (rowComp.js:169) at RowComp.webpackJsonp../node_modules/ag-grid/dist/lib/rendering/rowComp.js.RowComp.init (rowComp.js:116) at RowRenderer.webpackJsonp../node_modules/ag-grid/dist/lib/rendering/rowRenderer.js.RowRenderer.createRowComp (rowRenderer.js:634) at RowRenderer.webpackJsonp../node_modules/ag-grid/dist/lib/rendering/rowRenderer.js.RowRenderer.createOrUpdateRowComp (rowRenderer.js:515) at rowRenderer.js:446 at Array.forEach() at RowRenderer.webpackJsonp../node_modules/ag-grid/dist/lib/rendering/rowRenderer.js.RowRenderer.redraw (rowRenderer.js:445) at RowRenderer.webpackJsonp../node_modules/ag-grid/dist/lib/rendering/rowRenderer.js.RowRenderer.redrawAfterModelUpdate (rowRenderer.js:210) at RowRenderer.webpackJsonp../node_modules/ag-grid/dist/lib/rendering/rowRenderer.js.RowRenderer.onModelUpdated (rowRenderer.js:144)
とにかくそれを解決するにはありますか?