I am somewhat new to ColdFusion (especially CF8 and AJAX) but
have learned quite a bit recently. I have been racking my brain
trying to find a solution or methodoly to this simple task.
I am using CF8 and have created a cfgrid which is populated
by a cfc (using the example in Ben & Ray's new WACK book). The
grid should not allow editing. This works fine. My next goal was to
have a series of cfinputs and cfselects bound to this grid that
would display under the grid to allow for editing. There obviously
is no problem binding the cfinput to the cfgrid. The problem that
I'm running into is binding the cfselect to the the cfgrid.
In CF8, the bind in cfselect allows you to bind to an array
of valid inputs. What I'm trying to accomplish is having the
initial value of the cfselect (or selected value) be the
corresponding row selected in the cfgrid. In other words, if you
select another row on the cfgrid, all values in the edit screen are
updated, including the cfselect. Right now, only the cfinput tags
are updated when the active row on the cfgrid is changed.
I tried playing with onchange, cfproxy, options in cfselect,
etc.but seem to have hit a brick wall. Does anyone know of any