gdemaria
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
<cfgridcolumn name="firstname" header="first" Select="No" >
<cfgridcolumn name="lastname" header="last" >
<cfgridcolumn name="city" header="city">
<cfgridcolumn name="state" header="state">
</cfgrid>
Good on you!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.