Read Datatable Values OnPost (Razor Pages)
Read Datatable Values OnPost (Razor Pages)
Allam
Posts: 2Questions: 2Answers: 0
i Add rows to the datatable using javascript from the frontend, once i click submit how to read the datatable rows in the post function ?
Answers
How are you doing this?
Use
rows().data()
withtoArray()
to get a Javascript array of the Datatables rows.Kevin