Copy link to clipboard
Copied
I have a cfgrid bound to another cfgrid that always returns null for the value.
<!--- select office --->
<input type="checkbox" id="pckOffice1" onclick="setOffice();" checked>Bangor
<input type="checkbox" id="pckOffice3" onclick="setOffice();" checked>Lamoine
<input type="checkbox" id="pckOffice5" onclick="setOffice();" checked>Lincoln
<input type="checkbox" id="pckOffice7" onclick="setOffice();" checked>Machias
<br/>
<input type="hidden" id="OfficeFilter" name="OfficeFilter" value="'1','3','5','7','2','9'">
<!--- cycle grid --->
<cfgrid name="gdCycle" format="html" colheaderbold="true" striperows="no"
striperowcolor="##ccffcc" selectcolor="#selectcolor#" selectmode="row" selectonload="false"
bgcolor="##ffffbf;" pagesize="13" height="370"
bind="cfc:MVRS_Cycle.getCycles({cfgridpage},{cfgridpagesize},{cfgridsortcolumn},{cfgridsortdirection},{OfficeFilter@change})">
<cfgridcolumn name="Print" header="" width="55">
<cfgridcolumn name="CycleID" header="Cycle" width="60">
<cfgridcolumn name="NumRoutes" header="## Routes" width="70">
</cfgrid>
<!--- selected cycle bound to cycle grid --->
<cfinput name="" id="selectedcycle" bind="{gdCycle.CycleID}">
<!--- route grid bound to cycle grid --->
<cfgrid name="gdRoute" colheaderbold="true" format="html" striperows="no"
bindonload="false" height="370" selectmode="row" style="display:none;"
pagesize="12" selectonload="false"
bind="cfc:MVRS_Route.getRoutesByCycleID({cfgridpage},{cfgridpagesize}, {cfgridsortcolumn},{cfgridsortdirection},{gdCycle.CycleID},{OfficeFilter@change})">
<cfgridcolumn name="RouteID" display="false">
<cfgridcolumn name="Print" header="" width="60">
<cfgridcolumn name="RouteNumber" width="70">
<cfgridcolumn name="NumberCustomers" width="90">
<cfgridcolumn name="NumberMeters" width="70">
<cfgridcolumn name="NumberReadings" width="80">
<cfgridcolumn name="Office" header="Office" width="50">
<cfgridcolumn name="Complete" header="Complete?" width="80" dataalign="center"
type="string_noCase">
<cfgridcolumn name="ForceComplete" header="Force Complete?" dataalign="center" width="130">
</cfgrid>
Any ideas? I'm stumped....
Have something to add?