[英]ag-grid :- enableMultiRowDragging is not working in ag-grid 24
I am a new learner of angular. I am working on ag-grid.我是angular的新学员,正在做ag-grid。 I have to upgrade the ag-grid from the version ag-grid 21 to ag-grid 24.
我必须将 ag-grid 从版本 ag-grid 21 升级到 ag-grid 24。
I am trying to add enableMultiRowDragging but is not working.我正在尝试添加 enableMultiRowDragging 但不起作用。 Please have a look at the code.
请看一下代码。
<ag-grid-angular
[ngClass]="[sorted ? 'ew-blue-compact ew-blue-dashboard' : 'ew-blue-compact ew-blue-dashboard draggableItem']"
id="myGrid"
#agGrid
style="width: 100%;"
[style.height.px]="getGridHeight()"
[gridOptions]="gridOptions"
[getRowNodeId]="getRowNodeId"
(paginationChanged)="handlePaginationChanged($event)"
(sortChanged)="HandleSortChanged($event)"
[rowSelection] ="'multiple'"
[rowDragManaged]="true"
[enableMultiRowDragging] ="true"
[immutableData]="true"
[animateRows]="true"
(rowDragEnter)="onRowDragEnter($event)"
(window:resize)="onWindowResize()"
(cellValueChanged)="onCellValueChanged($event)"
(rowDragMove)="onRowDragMove($event)">
</ag-grid-angular>
in this code, [rowDragManaged]="true"
is missing.在此代码中,缺少
[rowDragManaged]="true"
。 When I am adding it to ag-grid-angular then the grip icon will not show.当我将它添加到 ag-grid-angular 时,手柄图标将不会显示。
I tried many efforts but it is not working.我尝试了很多努力,但没有用。
I tried to make a simple project than [rowDragManaged]="true" and [enableMultiRowDragging] ="true" is working.我试图做一个简单的项目,而不是 [rowDragManaged]="true" 和 [enableMultiRowDragging] ="true" 正在工作。 But it is not working on upgrading the ag-grid from version ag-grid 21 to ag-grid 24.
但它无法将 ag-grid 从版本 ag-grid 21 升级到 ag-grid 24。
Thanks in advance提前致谢
Ag-grid does not support pagination. Ag-grid 不支持分页。 Please make the pagination false in ag-grid.
请在 ag-grid 中将分页设置为 false。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.