Column Type from JSON

Column Type from JSON

matveganmatvegan Posts: 6Questions: 0Answers: 0
edited January 2013 in General
I have a table that load from a c# handler to JSON.
I do not know the number of columns to return.
Is there any way to tell from JSON data type of the column?

Replies

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    Currently no - you'd need to load that information first and the initialise the table with the column information.

    A weakness in DataTables that needs to be addressed in future!

    Allan
This discussion has been closed.