Skip to content

Commit bbb3a9a

Browse files
committed
docs(row-drag): Adding the IgxRowDragGhostDirective to the Changelog #6081
1 parent 1123d7d commit bbb3a9a

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

Diff for: CHANGELOG.md

+15
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,21 @@ All notable changes for each version of this project will be documented in this
2828
- `setOffset` method added. It offsets the content along the corresponding axis by the provided amount.
2929
- `IgxToggleDirective`:
3030
- `setOffset` method added. It offsets the content along the corresponding axis by the provided amount.
31+
- `IgxRowDragGhost` directive is added. It allows providing a custom template for the drag ghost when dragging a row.
32+
```html
33+
<igx-grid #grid1 [data]="remote | async" [primaryKey]="'ProductID'"
34+
[rowDraggable]="true">
35+
<igx-column [field]="'ProductName'"></igx-column>
36+
<igx-column [field]="'ProductID'"></igx-column>
37+
<igx-column [field]="'UnitsInStock'"></igx-column>
38+
<ng-template let-data igxRowDragGhost>
39+
<div>
40+
<igx-icon fontSet="material"></igx-icon>
41+
Moving {{data.ProductName}}!
42+
</div>
43+
</ng-template>
44+
</igx-grid>
45+
```
3146

3247
## 8.2.6
3348

0 commit comments

Comments
 (0)