Topic: Auto Columns in Datatables [based on json keys]

bpeterson priority asked 1 year ago

In this datatable snippet

I wonder how I may best "Auto Name" the labels and fields ??? [see the JS]

Grzegorz Bujański staff answered 1 year ago

You need to pass the new columns names to the update method. I prepared a snippet for you in which I added the appropriate code:

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 5.0.0
  • Device: n/a
  • Browser: n/a
  • OS: n/a
  • Provided sample code: No
  • Provided link: Yes