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>
LVL 39
gdemariaAsked:
Who is Participating?
 
Computer101Connect With a Mentor Commented:
PAQed with points refunded (500)

Computer101
EE Admin
0
 
gdemariaAuthor Commented:

 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.
0
 
boy8964Commented:
Good on you!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.