Solved

CFGRID width will not change

Posted on 2006-11-07
4
404 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to redirect https://www to non-www? 6 75
Apached AXIS end to end simple good example 2 92
Redundant SQL Servers Without Clustering 7 107
ip / url redirect 13 71
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…
One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

777 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