Hi,
As per your reply, I tried autoSizeRows() method but it didn’t work for me.
Following is my code snippet.
<wj-flex-grid #flex class=“flexgridClass” [selectionMode]=“‘Row’” [itemsSource]=“myData” >
<wj-flex-grid-filter #filter [filterColumns]=“filtrColumns” (filterChanging)=“filterChanging(filter,$event)” >
<wj-flex-grid-column *ngFor=“let s_col of allTableColumn; let i = index” [visible]=“s_col.visible” [multiLine]=“s_col.multiLine”
[allowSorting]=“s_col.allowSorting” [header]=“s_col.text” [binding]=“s_col.headerbinding” [dataType]=“s_col.datatype” [format]=“s_col.format” align=“left”>
allTableColumn= [{ allowSorting: false, headerbinding: ‘id’, text: ‘ID’, visible: true, datatype: ‘1’, width: ‘2*’ ,multiLine:false},
{ allowSorting: false, headerbinding: ‘referId’, text: ‘Reference’, visible: true, datatype: ‘1’, width: ‘2*’,true },
{ allowSorting: false, headerbinding: ‘createdDate’, text: ‘Creation Date’, visible: true, datatype: ‘4’, format: ‘YYYY-MM-DD’, width: ‘2*’,multiLine:false },
{ allowSorting: false, headerbinding: ‘typeCode’, text: ‘Transaction Type’, visible: true, datatype: ‘1’, width: ‘2*’,multiLine:false },
{ allowSorting: false, headerbinding: ‘description’, text: ‘Description’, visible: true, datatype: ‘1’, width: ‘2*’ ,multiLine:false},
{ allowSorting: false, headerbinding: ‘groupId’, text: ‘Group Ref’, visible: true, datatype: ‘1’, width: ‘2*’,multiLine:false }
];
also used ngAfterViewInit() method.
ngAfterViewInit() {
this.flex.autoSizeRows();
}
for the Reference column sample data is like (Multilined)
national_association_of_insurance_commissioners : 6789
identi_identification_number : 8909
but when the grid loaded i can only see full cell data only when editing the cell.
Can you provide a working sample with these above code snippets? or can you suggest an option for solving the issue?
Regards,
Teenu.