在FlexGrid中设置了childItemsPath属性后,出现单元格不能编辑的情况,请问需要如何设置,才能编辑?
代码如下:
- <wj-flex-grid #flex
- [itemsSource]="treeData"
- [childItemsPath]="['area','items']"
- [selectionMode]="'ListBox'"
- [headersVisibility]="'Column'"
- (selectionChanged)="a(flex, $event)">
- <wj-flex-grid-column [header]="'姓名'" [binding]="'name'" [width]="'3*'" [isReadOnly]="false" ></wj-flex-grid-column>
- <wj-flex-grid-column [header]="'代表作'" [binding]="'representative'" [width]="'*'" [align]="'center'"></wj-flex-grid-column>
- </wj-flex-grid>
复制代码
|
|