@@ -4,7 +4,7 @@ <h4 class="sample-title">Sample One</h4>
4
4
< igx-buttongroup [values] ="displayDensities " (onSelect) ="selectDensity($event) " style ="display: block; width: 500px "> </ igx-buttongroup >
5
5
</ div >
6
6
< button igxButton ="raised " (click) ="getState() "> Get state</ button >
7
- < igx-hierarchical-grid [(hierarchicalState)] ="hgridState " [showExpandAll] ='true ' [hasChildrenKey] ='"hasChild" ' class ="hgrid " [allowFiltering] ='true ' #grid1 [data] ="localData " [displayDensity] ="density " [rowSelectable] ="true " [autoGenerate] ="false " [allowFiltering] ='true ' [paging] ="true "
7
+ < igx-hierarchical-grid [rowDraggable] =" true " [ (hierarchicalState)] ="hgridState " [showExpandAll] ='true ' [hasChildrenKey] ='"hasChild" ' class ="hgrid " [allowFiltering] ='true ' #grid1 [data] ="localData " [displayDensity] ="density " [rowSelectable] ="true " [autoGenerate] ="false " [allowFiltering] ='true ' [paging] ="true "
8
8
[height] ="'600px' " [width] ="'800px' " [expandChildren] ="rootExpanded " #hGrid >
9
9
< igx-column field ="ID " [resizable] ="true " [pinned] ="true " [filterable] ='true '> </ igx-column >
10
10
< igx-column-group header ="Information ">
@@ -23,7 +23,7 @@ <h4 class="sample-title">Sample One</h4>
23
23
< ng-template igxRowCollapsedIndicator >
24
24
< igx-icon role ="button " fontSet ="material "> add</ igx-icon >
25
25
</ ng-template >
26
- < igx-row-island [showExpandAll] ='true ' [key] ="'childData' " [autoGenerate] ="false " [allowFiltering] ='false ' [rowSelectable] ='isRowSelectable ' [expandChildren] ="firstLevelExpanded " #layout1 >
26
+ < igx-row-island [rowDraggable] =" true " [ showExpandAll] ='true ' [key] ="'childData' " [autoGenerate] ="false " [allowFiltering] ='false ' [rowSelectable] ='isRowSelectable ' [expandChildren] ="firstLevelExpanded " #layout1 >
27
27
< igx-column field ="ID " [hasSummary] ='true ' [dataType] ="'number' "> </ igx-column >
28
28
< igx-column-group header ="Information2 ">
29
29
< igx-column field ="ChildLevels " [resizable] ="true " [groupable] ='true '> </ igx-column >
@@ -53,6 +53,12 @@ <h4 class="sample-title">Sample One</h4>
53
53
<igx-column field="ChildLevels" [groupable]='true'></igx-column>
54
54
<igx-column field="ProductName" [groupable]='true'></igx-column>
55
55
</igx-row-island> -->
56
+ < ng-template let-data igxRowDragGhost >
57
+ < div class ="dragGhost ">
58
+ < igx-icon fontSet ="material "> </ igx-icon >
59
+ Moving {{data.ProductName}}!
60
+ </ div >
61
+ </ ng-template >
56
62
</ igx-hierarchical-grid >
57
63
58
64
< h4 class ="sample-title "> Sample two</ h4 >
0 commit comments