I want to pass to my data table some values as rows, like the following:
["ab", "b", "c"]. So, my json is just an array that doesn't have any keys, just a value. I know that we need to have a keys for each element that is the same of the column, but is there any solution? thanks
According to the documentation, the type of table row data can only be object. You can convert raw data, for example, like this:
https://jsfiddle.net/jLwmhbwv/