Posted 8 September 2022, 5:20 pm EST
Based on this Adding and removing rows example.
https://www.grapecity.com/wijmo/demos/Grid/Rows/AddingRemoving/purejs
I have 2 questions to ask.
-
If I select a cell on the last row, it will add an empty row to the last. Without adding any data to the selected row, I click on a cell of the last row and it will add another empty row. Is there any way to prevent to add empty rows more than 2 or prevent to add when there’s empty data row.
-
Is there a way that the last empty row can have empty cells? Some cells have buttons and checkboxes, the empty row also displayed button and checkbox.
I think those 2 can be done in custom handler of AllowAddNew but don’t know how.
Any help is much appreciated.
Thanks