Hate to reply to myself, but I found the 'add cfgrid items' answer here:

http://www.asfusion.com/examples/item/adding-the-values-of-a-cfgrid-colu
mn

Still not sure about populating the cfgrid items from a lookup grid =)

Chris

-----Original Message-----
From: Peterson, Chris [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 03, 2006 3:10 PM
To: CF-Talk
Subject: CFForm grid control coding

I am having some difficulties with a CFGRID control and wonder if anyone
can help me.  There are 2 things I am trying to do that I don't know are
possible.

1) I have a 4 column grid, inside an accordion type formgroup.  With 3
normal input fields, I have a accordion page to allow a 'master lookup'.
For example I have a field called 'Customer Code'  When the use clicks
customer code, the 'Customer Master' accordion tab opens, they search
for the customer code they want, and when they click the appropriate
customer master grid row it sends them back to the main screen with
'Customer Code' filled in.  I want to do this with a user-editable grid
control, so the user clicks 'Insert' to add a new grid row, then it
takes them to a GL account inquiry screen, and when they choose a GL
account it fills in whatever the row is they are coming from in the
empty CFGRID.  Can I even use onClick or onChange actions inside a
cfgrid? Also, can I make the cfgrid non user-editable for only 2
columns, and editable for the other 2?

2) I need to get a sub-total of a user-editable cfgrid as the grid is
filled in.  Any idea's on this?

Thanks a bunch,

Chris Peterson



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:245325
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to