How to apply CSS for Column using REST
How to apply CSS for Column using REST
beginner_2018
Posts: 46Questions: 19Answers: 0
Dear All,
I am trying to apply for one of the column in REST , But I find no luck with it.
Can any one please do let me know what's wrong in my below code
{
style:'visibility:hidden',
"mData": null,
render: function (data, type, row, meta ) {
if(data=="[object Object]")
{
return "0";
}
}
}
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
There is no
style
option in the reference list. You would need to usecolumns.className
to assign a class and then use that to style your column.Allan