:: Forum >>

Fixed cell , header and footer width

Hi,

Number of columns in my grid are dynamic. So , i cannot use
.aw-column-n {} syntax to give width to columns. I need to give same width to all columns. I've used syntax

.aw-grid-cell,.aw-grid-header,.aw-grid-footer {width: 55px}

for fixing column width. but in this case , i am getting 2 extra columns
at the end when visible space is more than no of columns displayed.

I don't want ot use setColumnWidth as there are performance issues with this.

Please suggest me some other way for fixing column width.




Ritu Sharma
Friday, June 13, 2008
for my code i have widths set differently being sent over from the server, so in one of my loops that set the formats i just tacked on this to the end.

table.setColumnWidth(myLengths[msk], msk);

That doesnt seem to be the best way for you, but it will work if all else fails.
Ryan Garabedian
Friday, June 13, 2008

This topic is archived.


Back to support forum

Forum search