Ask a Question related to Macromedia ColdFusion, Design and Development.
-
MysticMan324 #1
Binding a text box to grid problem
Hello,
I was trying the online tutorial on binding data in a cfform. I copied the
code from the tutorial and it shows up fine, but when I select the row in the
grid, nothing appears in the text box. Here is the code I have used.
<cfform format="flash" width="500">
<cfgrid name="grid" query="artists" selectmode="single">
<cfgridcolumn name="firstName">
<cfgridcolumn name="lastName">
<cfgridcolumn name="city">
</cfgrid>
<cfinput type="text" label="First Name" name="city"
bind="{grid.selectedItem.firstName}">
</cfform>
Can someone tell me what I need to do to get this to work?
Thank you,
Kevin
MysticMan324 Guest
-
Data grid loses binding
I have three sets of xml connectors, datasets and datagrids in the same document each feeding off three separate xml documents. I have placed three... -
Binding from grid to cfselect
This is what I can do: Select a row from the Grid and bind to to several input boxes. I have select boxes that change the data in the grid (it... -
CF Data Grid Binding- New to this CF Stuff
I amdrunning the demos from http://www.macromedia.com/software/coldfusion/demos/ and the demo for Coldfusion DataGrid and Binding is doing my head... -
Binding grid to textInput - hiding NULL ?
Hi, I have a datagrid and some detail boxes (mostly textInput). If a column is null on the grid, it shows as an empty cell - which is what I want... -
data table binding to grid
We have a data table bound to a datagrid. In the data table, there is a column of type decimal. Since any decimal in this column will always be a... -
Chikowski #2
Re: Binding a text box to grid problem
Try:
<cfinput type="text" label="First Name" name="city"
bind="{grid.selectedItem.FIRSTNAME}">
</cfform>
or
However it is written exactly in your database, not the way it is written on
the form. I think the capitalization counts.
Chikowski Guest



Reply With Quote

