PHP Classes

to calculate column

Recommend this page to a friend!

      phpMyDataGrid - AJAX Enabled Datagrid  >  All threads  >  to calculate column  >  (Un) Subscribe thread alerts  
Subject:to calculate column
Summary:to calculate column conditionally
Messages:1
Author:mauro
Date:2011-05-05 01:10:05
 

  1. to calculate column   Reply   Report abuse  
Picture of mauro mauro - 2011-05-05 01:10:05
I need to calculate column ("calc_1") conditionally:

If column 1 === 10 then $objGrid -> FormatColumn("calc_1","Compra", "10", "10", "3","70","right","calc:((vrativo)+emol+corret)");

How can I do ?