Can I change column width in cellattr? I tried this:
cellattr: function(rowId, value, rowObject, colModel, arrData) {
return \' style= width: 100% !impo
If you would do this you will see that the cellattr
can be used to specify attributes of individual cells ( elements) of the column. The width of the column is the common width of all cells. Nevertheless if you need to assign style attribute to all cells of the column you should use quotes in your code:
cellattr: function () {
return ' style="width: 100% !important;"';
}
style="width: 100% !important;"
attribute will be assigned to all elements of the column. I still not sure that it will follows to results which you expect.