Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by oVox on Dec 21, 2007 12:43
open dhtmlx forum
Cell Price

Hi!, I have a cell with formula, is a price cell, but i need that this value can't be editable. How can i do that?

mygrid.setColTypes("ro,ro,edn,ro,edn,ro,ro[=c2*c5+c5*c2*c4/100],price[=c3*c5]");

Regards
Answer posted by Support on Dec 22, 2007 01:32
The cell can be or editable or set as result of math calculation, it not possible to edit cell which value was set as result of math calculations.
If necessary you can defined column as math originally, and after data loading ( and math calculations ) reset it to any other type.
Answer posted by oVox on Dec 24, 2007 04:44
No, this cell is correct, is a Math cell PRICE, but i wnat that this cell CAN'T BE EDITABLE. Because when i key press over it i can change the MATH calculation!
Answer posted by Stanislav on Dec 24, 2007 19:39
The math based cell is not editable by default, unless you called the function from math extension which enable formula edition.
Answer posted by oVox on Dec 26, 2007 04:49

Here i atttach you my file now with problems, this one posted here, you can see that i have a PRICE[MATH CELL] that when i keypress over it i can edit data.

The other one, the third column "# ingresada" is the one that must fire the event "save dynamically" but im having an extrange error, if i keypress over that cell the ZERO number the event doesn't fires, instead if i first double click the cell, and then i keypress ZERO the event fires ok, so i think maybe can be a problem with keymap_excel, can you check it plesase?

Regards, oVox.

Attachments (1)