Hi team how do we handle data which is in this format
[{
ID:1,
activestatus:true,
name:["john","mayars"]
},
{
ID:2,
activestatus:false,
name:["john","cena"]
},
{
ID:1,
activestatus:true,
name:["john","wick"]
}
]
when the data is in this format the table is not showing the values in the table how to handle this kind of format
Hello!
Thank you for your question.
Currently, the array data type is not supported by Flexmonster.
Here you can see supported JSON formats: https://www.flexmonster.com/doc/json-data-source/#supported-formats.
We recommend normalizing array data so that the "name" property contains a string value.
Please check this example with data preprocessing on JSFiddle.
Feel free to contact us if other questions arise.
Best Regards,
Maksym
Thanks.
For customizeCellFunction if i add button to the column how to i write functions to that button
cell.style["text-align"] = "center";
cell.style[
"z-index"
] = 2;
cell.text = `<button class="mybutton" onChange="myfunction()"></button>`;
if i write this in react it shows error how do achieve this functionality.