Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
75
EditCell TextArea
posted

Hello team

I am working with rowEditable of IgxGrid, I have columns with long text, in the part of the ng-template igxCellEditor I add a class to be able to see the input as a text box, but the text does not fit the size of the box, as shown in the picture.

<igx-column field="DescripcionLarga" header="Descripción completa" dataType="string" width="450px" [filterCellTemplate]="defaultFilterTemplate" sortable="true" [movable]="true" [resizable]="true">
    <ng-template igxCell let-cell="cell">
      <span>{{ cell.value }}</span>
    </ng-template>
    <ng-template igxCellEditor let-cell="cell">
      <igx-input-group class="igx-input-group__textarea">
        <input igxInput  [igxFocus]="true" name="DescripcionLarga" [(ngModel)]="cell.editValue" [igxTextSelection]="true" type="text" datatype="string"/>
      </igx-input-group>
    </ng-template>
  </igx-column>

How can you make it fit?

Thanks