Hi all,

I am probably not using the correct 'language' here -- forgive me new to the 
AJAX world.

I have a lovely cfgrid populated by binding it to a CFC. Everything works 
great. I have some 'filters' that let the users filter the data in the grid.

Now the client has asked to have a 'download grid data to excel.'

I've done this many times in the past - just not with AJAX data. Now I am stuck.

The data is in a javascript object, which I'd like to convert to a coldfusion 
object.

I've tried statements like <cfset cfData=DeserializeJSON(theData)>

and I've set 'theData' via javascript like var theData= 
ColdFusion.Grid.getGridObject('resource_list');

But I keep getting errors on variable theData not found.

a) if I don't specify returnFormat in my CFC, what format does cfgrid data come 
back as? (JSON, WDDX?).
b) how can I convert the javascript object into a coldfusion object?
c) or should I be doing something totally different :-)

I am missing something -- help/suggestions much appreciated!

Cheers,

Matts


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328563
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