Link to home
Start Free TrialLog in
Avatar of gdemaria
gdemariaFlag for United States of America

asked on

CFGRID width will not change


 This is a baffling me.

 I am unable to get this cfgrid to be more than 300 px wide.  

 If I remove the "width='450'" parameter, the grid appears 300px wide.   If I add the with parameter back in, the grid will not draw.  I have played with the autowidth parameter and have added width parameters to each of the cfgridcolumn tags.  None of the different combination will get this cfgrid to appear to take the width of the page.   Any ideas??
thanks!!

   <cfgrid name="test" format="flash" query="getContacts"
                                 colheaderbold="Yes" font="Tahoma" rowHeaders="No" selectColor="blue" width="450">
      <cfgridcolumn name="contactID" display="No">
      <cfgridcolumn name="company" header="Company" Select="No"textcolor="blue" bold="Yes">
      <cfgridcolumn name="firstname" header="first" Select="No" >
      <cfgridcolumn name="lastname" header="last" >
      <cfgridcolumn name="city" header="city">
      <cfgridcolumn name="state" header="state">
   </cfgrid>
Avatar of gdemaria
gdemaria
Flag of United States of America image

ASKER


 Sorry, never mind.

 Turns out that the DIV that was containing the cfgrid somehow compressed the grid, but only when the cfgrid's width was present.

 Setting the DIV's height made the grid appear.   Go figure.
Avatar of boy8964
boy8964

Good on you!
ASKER CERTIFIED SOLUTION
Avatar of Computer101
Computer101
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial