Reply to topic
CFgrid advanced Functions
chemical_one


Joined: 27 Sep 2006
Posts: 13
Location: Las Vegas
Reply with quote
Hi all,

back once again for another q and a. i got a cfgrid in flash format witch runs fine i want that grid to edit itself. and what i mean by that is that is used to convert currency so the user is to edit an entry and subsequent fields are to be updated based on that (new amount)
example

colum1,usd,100
colum2,cnd,125
colum3,rate,1.25

only colum1 is editable the value of colum2 depends on 1 and 3
i thought that i could easily make it work with a simple cfset in my binding statement at this point only booth field when edited will carry the same value if the user enters 100 then colum1 and two are equal.
Code:

<cfinput type="text" name="usdsub" label="SUb Total Usd:"  width="100"
         bind="{datacount.dataProvider[datacount.selectedIndex]['usdsub']}"
         onChange="datacount.dataProvider.editField(datacount.selectedIndex, 'usdsub', usdsub.text);datacount.dataProvider.editField(datacount.selectedIndex, 'cndsub', usdsub.text);">


here is my code ideally speaking if i could do a mathematical operation in the on change it would real nice. real nice indeed...


thank you for your help...
CFgrid advanced Functions
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic