Home » Jquery » How to paste multiple values into the Mat-Table input form rows using Angular 8 and jQuery?

How to paste multiple values into the Mat-Table input form rows using Angular 8 and jQuery?

Posted by: admin February 22, 2020 Leave a comment

Questions:

I have a mat-table with dynamic columns and input values have to enter each cell of the mat-table.

I want to paste the data to all the rows at one go. i.e if Mat-table having the 3 columns and 10 rows.

10 rows data is in xls file. Just copy the data from the xls file and paste into the 10 rows at a time. User again don’t want to type all the data into the table. He is already having with the xls file.

I am trying to use the jQuery. But it’s not working for me.

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

enter image description here

How to&Answer: