Wijmo flexgrid - textarea input

Posted by: sravya_tamma on 21 April 2021, 12:07 pm EST

    • Post Options:
    • Link

    Posted 21 April 2021, 12:07 pm EST

    Hello , I’m trying to get this text area embedded inside flexgrid cell. I’m unable to view/edit the comment. Am i missing something here ? Below is the code i have.

    <wj-flex-grid-column header="Comments" [minWidth]="250" binding="comments" width="2*" word-wrap="true">
         <ng-template wjFlexGridCellTemplate [cellType]="'Cell'" let-cell="cell">
                    <div class="divwordwrap" style="word-break:break-word;" >
                        {{cell.comment}}
                    </div>
                </ng-template>
    
                <ng-template wjFlexGridCellTemplate [cellType]="'CellEdit'" let-cell="cell">
                    <div class="tadiv">
                        <textarea class="tadiv" ng-model="cell.value">   </textarea>
                    </div>
                </ng-template>
            </wj-flex-grid-column>
    
  • Posted 23 April 2021, 3:45 am EST

    Hi,

    We have prepared a sample to demonstrate how we could bound the textarea as cell editor. Please refer to the following sample and let us know if you face any issues:

    https://codesandbox.io/s/wijmo-angular-forked-nzmz9?file=/src/app/app.component.html

    Regards

  • Posted 25 April 2021, 6:06 pm EST

    It worked

    Thanks

    Sravya

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels