:: Forum >>

multi line cell size problem in extended grid.

I am having a problem with cell sizes not matching up when I am using the extended grid. I have text wrap turned on and I have set my fixed left column to 3. My problem is that the cells in columns 0, 1 and 2 are resized very large even though they don't need to be and the cells in the other columns are the normal sizes. The ratio is about nine to one. Has anyone else hit this problem?? I have pasted snippets of my code below.

#allInventoryAvailabilityGrid .aw-column-0 {width: 0px; text-align: left; }
#allInventoryAvailabilityGrid .aw-column-1 {width: 50px; border-right: 1px solid #ccc; text-align: center; }
#allInventoryAvailabilityGrid .aw-column-2 {width: 50px; border-right: 1px solid #ccc; text-align: center; }
#allInventoryAvailabilityGrid .aw-column-3 {width: 80px; border-right: 1px solid #ccc; text-align: center; }
#allInventoryAvailabilityGrid .aw-column-4 {width: 60px; border-right: 1px solid #ccc; text-align: center; }
#allInventoryAvailabilityGrid .aw-column-5 {width: 115px; border-right: 1px solid #ccc; text-align: center; }
#allInventoryAvailabilityGrid .aw-column-6 {width: 75px; border-right: 1px solid #ccc; text-align: left; }
#allInventoryAvailabilityGrid .aw-column-7 {width: 40px; border-right: 1px solid #ccc; text-align: left; }
#allInventoryAvailabilityGrid .aw-column-8 {width: 150px; border-right: 1px solid #ccc; text-align: center;}


var allInventoryAvailability_obj = new AW.Grid.Extended;
allInventoryAvailability_obj.setFixedLeft(3); // grid contains 9 columns...
allInventoryAvailability_obj.getRowTemplate().setClass("text", "wrap");


Thanks,

-Larry
LarryF
Thursday, August 3, 2006

This topic is archived.


Back to support forum

Forum search