Hi everyone,
I am stuck again with something. I have a cfselect/dropdown menu
(which is populated by data from the database). My goal is when I
select something from the dropdown menu, It will populate my datagrid
with the data selected. I successfully accomplished this in
coldfusion and its working fine, but when I transfer the same .cfm
file into farcry, my cfselect/dropdown menu is not working anymore.
My datagrid is not getting populated by the data selected in the
cfselect/dropdown menu. Here is my code: Is there something I am
missing that I needed to add into my code in order for me to get this
to work in farcry?
**********************************************************************************************************************************************************************************
<cfsavecontent variable="populateGrid">
if(_global.arrMembers == undefined) _global.arrMembers =
gridEnhance.dataProvider.slice(0);
var arrMembers = _global.arrMembers;
var arrDisplay:Array = [ ];
for(var i = 0; i < arrMembers.length; i++)
{
if(arrMembers[i].status_id == getCallStatus.value ||
getCallStatus.value == 'All')
{
arrDisplay.push(arrMembers[i]);
}
}
gridEnhance.dataProvider = arrDisplay;
</cfsavecontent>
**********************************************************************************************************************************************************************************
**********************************************************************************************************************************************************************************
<cfselect name="getCallStatus" label="Call Status: "
queryposition="below" width="100" query="statusList" display="name_l"
value="status_id"
onChange="#populateGrid#">
<option value="All">All</option>
</cfselect>
**********************************************************************************************************************************************************************************
**********************************************************************************************************************************************************************************
<cfgrid name="gridEnhance" query="getLists"
rowheaders="no" ............etc..... >
**********************************************************************************************************************************************************************************
Thanks again for any help!
-a
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---