<wj-flex-grid class="custom-flex-grid"
[itemsSource]="treeData"
[childItemsPath]="'items'"
[allowResizing]="'None'"
[selectionMode]="'Row'"
[headersVisibility]="'None'">
<wj-flex-grid-column [header]="'Name'" [binding]="'name'" [isReadOnly]="false" [width]="'*'"></wj-flex-grid-column>
<wj-flex-grid-column [header]="'Length'" [binding]="'length'" [isReadOnly]="false" [width]="80" [align]="'center'"></wj-flex-grid-column>
</wj-flex-grid>
这样写 也不好使 树上的行仍然不可以修改 |