Posted 28 October 2019, 5:36 am EST
Hi,
I’m trying to insert 1000 new rows, when I use this code, it work properly
insertRows(totalRow: number) {
this.formatSheet.insertRows(this.formatSheet.rows.length - 1,1000);
}
but when I use my parameter value ‘totalRow’ , it only added 1 row.
insertRows(totalRow: number) {
this.formatSheet.insertRows(this.formatSheet.rows.length - 1,totalRow);
}
Could you help me with that ? Thanks.
Best Regards,
Oskar Putra