I am trying to have the height and width of the cfgrid to fit on the page no matter what size of the screen.
<cfform>
<!-- I have tried: But it can not have percentages. -->
<cfgrid name="FLines" height="60%" width="60%" format="html" selectmode="EDIT" striperows="Yes" query="PGs" appendkey="No" hrefkey="True">
<!-- I do not want to tell it a hardcoded way for width and height. -->
<cfgrid name="FLines" height="600" width="600" format="html" selectmode="EDIT" striperows="Yes" query="PGs" appendkey="No" hrefkey="True">
<cfgridcolumn name="PRID" display="No">
<cfgridcolumn name="PROFILE" header="Profile" width="50">
<cfgridcolumn name="DESCRIPTION" header="Description" width="200">
<cfgridcolumn name="Qty" header="Prod Cat" width="50">
<cfgridcolumn name="CARTONWIDTH" header="Carton Width" width="75">
<cfgridcolumn name="Configuration" header="Config" width="50">
</cfgrid>
Any suggestions?