How to implement DataTable in Portal Web Form


I was wondering if the Web Form in ERPNext / Frappe portal can be replaced with DataTable to display the data in a better tabular form.

How would one be able to do this?
Is there any examples?


Any update on this??