File tree 1 file changed +15
-0
lines changed
1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,21 @@ All notable changes for each version of this project will be documented in this
28
28
- ` setOffset ` method added. It offsets the content along the corresponding axis by the provided amount.
29
29
- ` IgxToggleDirective ` :
30
30
- ` 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
+ ```
31
46
32
47
## 8.2.6
33
48
You can’t perform that action at this time.
0 commit comments