您好我这边有一盒angular的示例
- <wj-flex-grid
- style="height:300px"
- initialized="initialized(s, e)"
- items-source="data">
- <wj-flex-grid-column header="ID" binding="id"></wj-flex-grid-column>
- <wj-flex-grid-column header="Date" binding="date" format='MMM/dd/yyyy'></wj-flex-grid-column>
- <wj-flex-grid-column header="Time" binding="time" format="t"></wj-flex-grid-column>
- <wj-flex-grid-column header="Country" binding="country"></wj-flex-grid-column>
- <wj-flex-grid-column header="Country ID" binding="countryMapped" data-map="countryMap"></wj-flex-grid-column>
- <wj-flex-grid-column header="Downloads" binding="downloads"></wj-flex-grid-column>
- <wj-flex-grid-column header="Sales" binding="sales"></wj-flex-grid-column>
- <wj-flex-grid-column header="Expenses" binding="expenses"></wj-flex-grid-column>
- <wj-flex-grid-column header="Checked" binding="checked"></wj-flex-grid-column>
- </wj-flex-grid>
复制代码
- // create the filter and expose it to scope for customization
- $scope.initialized = function (s, e) {
- var flex = s;
- flex.columnFooters.rows.push(new wijmo.grid.GroupRow());
- flex.bottomLeftCells.setCellData(0, 0, 'Σ');
- }
复制代码
请参照一下。希望能帮到您 |