@@ -4,7 +4,7 @@ <h4 class="sample-title">Sample One</h4>
44 < igx-buttongroup [values] ="displayDensities " (onSelect) ="selectDensity($event) " style ="display: block; width: 500px "> </ igx-buttongroup >
55 </ div >
66 < 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 "
88 [height] ="'600px' " [width] ="'800px' " [expandChildren] ="rootExpanded " #hGrid >
99 < igx-column field ="ID " [resizable] ="true " [pinned] ="true " [filterable] ='true '> </ igx-column >
1010 < igx-column-group header ="Information ">
@@ -23,7 +23,7 @@ <h4 class="sample-title">Sample One</h4>
2323 < ng-template igxRowCollapsedIndicator >
2424 < igx-icon role ="button " fontSet ="material "> add</ igx-icon >
2525 </ 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 >
2727 < igx-column field ="ID " [hasSummary] ='true ' [dataType] ="'number' "> </ igx-column >
2828 < igx-column-group header ="Information2 ">
2929 < igx-column field ="ChildLevels " [resizable] ="true " [groupable] ='true '> </ igx-column >
@@ -53,6 +53,12 @@ <h4 class="sample-title">Sample One</h4>
5353 <igx-column field="ChildLevels" [groupable]='true'></igx-column>
5454 <igx-column field="ProductName" [groupable]='true'></igx-column>
5555 </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 >
5662 </ igx-hierarchical-grid >
5763
5864 < h4 class ="sample-title "> Sample two</ h4 >
0 commit comments