How to render dynamic columns based upon the data
I have data like this
And I want the result as follows
["name", "age", "hobby"]
["jhon doe", 23, ""]
["Riana", , "football"]
And I want the result as follows
["name", "age", "hobby"]
["jhon doe", 23, ""]
["Riana", , "football"]