Disregard.. I fixed it 

 

From: ColdFusion [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 05, 2007 10:37 PM
To: '[email protected]'
Subject: CFGRID Bind Question

 

I have a CFGRID that I am doing an edit on the record. I have the onChange
event and now trying to use the BIND event.

 

Here is my bind statement:

bind="cfc:DataTrack.getDictionaryGrid({cfgridpage},{cfgridpagesize},{cfgrids
ortcolumn},{cfgridsortdirection})"

 

 

Now the issue is, the getDictionary method requires two additional
parameters of getType and ID.

getType is a string and ID is a numeric.

 

My first thought was to append them to the BIND as:

bind="cfc:DataTrack.getDictionaryGrid({cfgridpage},{cfgridpagesize},{cfgrids
ortcolumn},{cfgridsortdirection},{'BLOCK'},{#url.blockid#})"

 

But this throws errors like:

Element not found: 'BLOCK'

 

The word block is just a parameter to tell the query which ID column to
select the records from.

 

If I remove the last 2 parameters, I get an error like

"The value returned from getDictionaryGrid is not of type query."

 

 

Any ideas?

 





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294280
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to