How to map column names of a table with JSON data
How to map column names of a table with JSON data
I am new to Jquery and started my baby steps now. I wanted to understand how dataTable in Jquery works. How the data obtatined from database as List of Objects are arranged or auto mapped with column headers of a Table in JSP?
My dataTable displays data to wrong columns headers. Can anyone please let me know, how can I control the data being rendered to each column
for Example I wanted to display Table as below
Expected
Name, Age, Gender
snalla, 30, MALE
Actual (Issue)
Name, Age, Gender
MALE,snalla,30
Here, there is no control on Column header and data rendere which is an issue to me
Please help