Here is an example that I'm trying to do, but it doesn't work. I see two colgroups generated into the DOM but they are empty :/ What did I miss ?
|
<div ng-controller="PhoneListCtrl">
<div class="content-container-fluid">
<div class="row">
<div class="cols-sample-area">
<div id="Grid" ej-grid e-datasource="data" e-allowpaging="true" e-allowsorting="true" e-showstackedheader="true">
<div e-stackedheaderrows>
<div e-stackedheaderrow>
<div e-stackedheadercolumns>
<div e-stackedheadercolumn e-headertext="col1" e-column="OrderID,CustomerID"></div>
<div e-stackedheadercolumn e-headertext="col2" e-column="EmployeeID,Freight"></div>
</div>
</div>
</div>
<div e-columns>
<div e-column e-field="OrderID" e-headertext="Order ID" e-textalign="right" e-width="75"></div>
<div e-column e-field="CustomerID" e-headertext="Customer ID" e-width="80"></div>
<div e-column e-field="EmployeeID" e-headertext="Employee ID" e-textalign="right" e-width="75"></div>
<div e-column e-field="Freight" e-headertext="Freight" e-textalign="right" e-format="{0:C}" e-width="75"></div>
<div e-column e-field="OrderDate" e-headertext="Order Date" e-format="{0:MM/dd/yyyy}" e-textalign="right" e-width="80"></div>
</div>
</div>
</div>
</div>
</div>
</div>
|
Thank you!