Hi Rakhi,
Greetings from the Syncfusion support.
Query: When I am pressing tab in the last column after entering any value say "6" and then press tab, it is by default adding extra row. How can I resolve it?
By default we have provided new row adding in bottom of Grid while focus out from last cell of Grid which is default behaviour. We have prevented the new row adding in the Grid with mentioned query using beforeBatchAdd event of Grid.
Please refer the below code example and sample for more information.
|
[app.component.ts]
beforeBatchAdd(args) {
if (event.action == "tab") {
args.cancel = true; // Prevent the adding a new row
}
} |
Please get back to us, if you need further assistance.
Regards,
Balaji Sekar