Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Esteban Martin on Oct 01, 2007 14:27
open dhtmlx forum
How can i format a column type math?. Formula value is loaded from the Database.


Answer posted on Oct 01, 2007 16:04
math column is not able to format values but you can use next trick


grid.setColType("ro,ro,edn[=0]");

such initialization will create a "edn" column which are capable to format data, but in same time it will be "math active column" ( because if initialized with formula), so value from data XML will be threated as formula.