Categories | Question details Back To List | ||
Footer format I have this $head="<head>"; $head.= "<afterInit><call command=\"attachFooter\"><param>"; $head.="Totals:,"; $tc=number_format($tc); $td=number_format($td); $tch=number_format($tch); $head.="$tc,$td,$tch"; $head.="</param></call> </afterInit>"; $head.= "</head>"; And since the numbers have ,'s in them it returns the footer all messed up. i've tried everything I can think of, how do I pass a value in the footer to the grid in XML that uses a comma? Thanks Answer posted by Support on Aug 07, 2008 02:57 There are two ways a) you can use different list delimeter, by using grid.setDelimiter("^") b) you can escape commas $tc=str_replace(",","\\,",number_format($tc)); |