[cells-devel] c-formula and setf

Bastian Müller turbo24prg at web.de
Sun Feb 15 15:23:23 UTC 2009


Hi,

I don't know if that has been discussed yet, but I've several use cases 
where I want to do sth. like that: A cell should be calculated by a 
formula if it isn't set to a value. I thought that's possible with
(c-formula (:inputp t) ... ), which does calculate the slot by a formula 
and can be setf, but how is it possible to unset the setf value and let 
cells calculate it again?

Example: A textbox is by default calculated by a formula. If the user 
enters sth. into it, that value is used. If the user clears the field of 
his input, the value should be calculated again.

Maybe the c-formula ... approach is completely the wrong way or that's 
not possible at all. I've read the documentation and primer but couldn't 
find anything helpful. Sorry, I'm new to cells.

Cheers,
   Bastian




More information about the cells-devel mailing list