3.0 beta 2

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
June 13,
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
June 13,

This topic is archived.

See also:


Back to support forum

Search

Version 2

Looking for AW 2.6 ?
The old site is here.