Click here to Skip to main content
15,888,286 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
Hi ,

Can you share some samples on Jquery DataTable Columns dynamically.

Because in runtime i ll decide how many columns to Display ?

Please share code or useful links.

I saw some links for dynamic data but i want column name also dynamically.

Thanks,
Posted
Updated 17-Aug-18 2:23am
Comments
Sandeep Mewara 12-Apr-13 11:55am    
Did you try by yourself? Any effort ?
deniz3434 24-Mar-17 9:04am    
asdasdasdsad

1 solution

Please review following article.

jQuery DataTable Integration-Dynamic columns and records[^]

Here you can find - Initilize or re-initialize jQuery datatable from anonymous json result means you can prepare jQuery Datatable column binding from any jsonlist result
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900