Solved

CFGRID width will not change

Posted on 2006-11-07
4
398 Views
Last Modified: 2013-12-24

 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
Comment
Question by:gdemaria
4 Comments
 
LVL 39

Author Comment

by:gdemaria
ID: 17895193

 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
 
LVL 4

Expert Comment

by:boy8964
ID: 17895725
Good on you!
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 18082328
PAQed with points refunded (500)

Computer101
EE Admin
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now