Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 425
  • Last Modified:

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>
0
gdemaria
Asked:
gdemaria
1 Solution
 
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
 
Computer101Commented:
PAQed with points refunded (500)

Computer101
EE Admin
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now