Hi,
Have made the fatal mistake of getting the following code to work in Firefox
and then finding out one of the elements doesn't display correctly in IE.
Can someone let me know if there is a way of getting the code to work in both
or do I need to go back to the drawing board? The idea is that the results div
refreshes when a row in the grid is selected:
<cfform name="tableform" width="400" height="100%" method="post"
action="quote_new.cfm">
<cflayout type="hbox">
<cflayoutarea>
<cfinput name="searchProduct"/>
<cfselect query="QryShapes" name="searchShape" value="code"
display="shape"/>
<cfinput type="button" name="searchBtn" value="Search"
onclick="ColdFusion.Grid.refresh('grid_Products', false);" />
</br>
</br>
<cfgrid format="html" name="grid_Products" pagesize="10"
selectmode="row"
bind="cfc:live.getProducts({cfgridpage},{cfgridpagesize},{cfgridsor
tcolumn},{cfgridsortdirection},getSearchString(),getShapeString())">
<cfgridcolumn name="PRODUCT_DESC" header="Description"
width="200"/>
<cfgridcolumn name="PHYSICAL_STOCK" header="Qty" width="100"/>
<cfgridcolumn name="MAIN_SPEC_CODE_IN" header="Spec"
width="100" display="no" >
<cfgridcolumn name="SIZE_OR_DIMENSIONS" header="Size"
width="100" display="YES" >
</cfgrid>
</br>
<cfinput type="Submit" name="detailBtn" value="Details for selected
item" />
</cflayoutarea>
<cflayoutarea>
<cfdiv id="results"
bind="url:Quote_details2.cfm?MAIN_SPEC_CODE_IN={tableform:grid_Products.MAIN_SPE
C_CODE_IN}&SIZE_OR_DIMENSIONS={tableform:grid_Products.SIZE_OR_DIMENSIONS}">
</cfdiv>
</cflayoutarea>
</cflayout>
</cfform>
Any help appreciated.
Peter
GArlington - 18 Sep 2007 14:31 GMT
> Hi,
>
[quoted text clipped - 46 lines]
>
> Peter
Most of the code above is CF (server side), what IE & FF display is
(X)HTML on client side.
The only code that can create a problem is <cflayout ...>
I was just wondering, did you consider checking CF docs BEFORE you ask
questions here? It seems that there is something like this described
in CF docs for <cflayout ...> tag on
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_j-l_01.ht
ml#3989007