Posted 22 February 2018, 8:04 pm EST
Hi,
I have attached a sample where I have don the following modifications
- Added a Cell Template which contains an Input Box
- Set the Width of Input Box to 100%
- Set the Padding of wj-cell to 0px ( Default.html)
.wj-cell {
padding: 0px;
}
<wj-flex-grid [itemsSource]="data">
<wj-flex-grid-column [header]="'Country'" [binding]="'country'" [width]="'*'" [isReadOnly]="true">
<ng-template wjFlexGridCellTemplate [cellType]="'Cell'" let-cell="cell">
<div>
<img src="resources/{{cell.item.country}}.png" />
{{cell.item.country}}
</div>
</ng-template>
</wj-flex-grid-column>
<wj-flex-grid-column [header]="'Country'" [binding]="'amount'" [width]="'*'">
<ng-template wjFlexGridCellTemplate [cellType]="'Cell'" let-item="item">
<input type="text" *ngModel="cell.item.amount" style="width:100%">
</ng-template>
</wj-flex-grid-column>
<wj-flex-grid-column [header]="'Active'" [binding]="'active'"></wj-flex-grid-column>
</wj-flex-grid>
```[zip filename="FlexGridIntro.zip"]public\uploads\1904f8fec40de7035e73e414f19d6f1b1519376617131.zip[/zip]
If you are still facing issues then please elaborate the steps to replicate the issue