I can't seem to get sWidth to have any effect upon the column widths.
I can't seem to get sWidth to have any effect upon the column widths.
iface
Posts: 23Questions: 8Answers: 0
How can I start to debug a problem I'm having setting the width of a column? All the other options are working except for sWidth. I have no other columns using a set width.
aoColumns : [{ mData: "loadOrder", sWidth: "30px"},
...]
If I look in firebug I see the width of the TH is set to style="width: 0px;". I would have assumed it would be 30px. I can change this style attribute to 30px in firebug and the column will change to the correct width.
patrick
PS. I tried to use the datatable debugging bookmark but it throws an error. "an error occurred while saving the data"
aoColumns : [{ mData: "loadOrder", sWidth: "30px"},
...]
If I look in firebug I see the width of the TH is set to style="width: 0px;". I would have assumed it would be 30px. I can change this style attribute to 30px in firebug and the column will change to the correct width.
patrick
PS. I tried to use the datatable debugging bookmark but it throws an error. "an error occurred while saving the data"
This discussion has been closed.