i would like to hide the column of a header like this one.
columns: [{
field: "field_1",
...
headerAttributes: {
style: "display: none"
}
}]
But i do not know how to do this with the PHP UI. The next one does not work.
->headerAttributes("style: \"display: none\"")
Thanks & Regards
Chris
2 Answers, 1 is accepted
0
Dimiter Madjarov
Telerik team
answered on 22 Aug 2014, 11:37 AM
Hello Chris,
In the current case you should use the equals sign after style, instead of colon, because the attributes string is directly appended to the markup.
E.g.
->headerAttributes("style= \"display: none\"");
Regards,
Dimiter Madjarov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!