Bento Number box in wizmo grid with NgFor and Ng Model not working

Posted by: saisushanth.bynagari on 16 August 2021, 6:43 am EST

  • Posted 16 August 2021, 6:43 am EST - Updated 3 October 2022, 12:48 pm EST

    Hi, I am trying to put a bento number input inside a wizmo grid and trying to load the values using NgModel, and for multiple columns we have implemented ng For, but I am unable to load the values itself in the beto NumberBox.

  • Posted 17 August 2021, 2:28 am EST

    Hi,

    On observing the code snippet in the screenshot, I have observed that you are trying to load the cell values using “cell.value”, which causing the issue here, as cell do not have value when CellType is set to “Cell” therefore you need to use the item property and pass the binding in it like [(ngModel)]=“cell.item[col.binding]”.

    I have created a sample demonstrating the same:

    https://stackblitz.com/edit/angular-r5clgz

    Note: I have used a number input, you can use any input type you like.

    Let us know if that resolves your issue.

    Regards,

    Ashwin

Need extra support?

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

Learn More

Forum Channels