Categories | Question details Back To List | ||
dhtmlxGrid(v15) I have a question about dhtmlxGrid(v15 Proffessional). Please teach the method of achieving the following examples. Should I create a new cell type? (following example's For [Price]) Example. [Quantity] [UnitCost] [Price] c1*c2 10.5 1 10 20.4 1 20 3 1000 3000 Quantity: decimal digit 1 Price: Quantity*UnitCost round down Thank you. Answer posted by Support on Dec 09, 2008 02:38 You can use edn|ron types and setNuimberFormat to apply necessary formatting mygrid.setColTypes("edn,edn,ron[=c0*c1]") mygrid.setNumberFormat("0.0",0); //with decimal part mygrid.setNumberFormat("0",1); //without decimal part mygrid.setNumberFormat("$ 0.0",2); //with currency symbol |