Check box for the new row needs to be removed

Posted by: rakesh.thummanapelly on 20 January 2025, 5:11 am EST

  • Posted 20 January 2025, 5:11 am EST - Updated 20 January 2025, 5:19 am EST

    We have bento checkbox column in Grid. Check box for the new row needs to be removed. Attached the screenshot for the reference.

  • Posted 21 January 2025, 12:57 am EST

    Hi Rakesh,

    We are assuming that you are using the Angular framework and have inserted the checkboxes in the row header cells using the ng-template. You can add an extra check in the template to avoid rendering the checkbox for the NewRowTemplate. Please refer to the following sample for a better understanding - https://stackblitz.com/edit/angular-jpbbrmb1?file=src%2Fapp%2Fapp.component.html

    In the above sample, we have demonstrated two approaches to hide the checkbox. In the second rowHeader column, we have removed the checkbox by adding an extra check in the templates. For the third rowHeader column, we have handled the ‘formatItem’ event of the grid to add a custom class on the ‘NewRowTemplate’ header cell and hide the checkbox through CSS. You can use any of the methods that suit your requirements well.

    In case, you face any issues, please let us know.

    Regards

Need extra support?

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

Learn More

Forum Channels