[b]If Callback_column used to call such a function and change color fields to export when you leave the tags in HTML[/b]
$value="<b><font color='#666600'>".$value."</font></b>";
$value=trim($value);
Fco. Orellana Maquinaria No 1 (Babor) <b><font color='orange'>23731</font></b>
Fco. Orellana Maquinaria No 3 (Estribor) <b><font color='orange'>23735</font></b>
Is solved by going to the grocery crud Liberia, and adding
libraries\grocery_crud.php
foreach($data->list as $num_row => $row){
foreach($data->columns as $column){
//$string_to_export .= $this->_trim_export_string($row->{$column->field_name})."\t";
[b]$string_to_export .= [color=#ffa500]strip_tags([/color]$this->_trim_export_string($row->{$column->field_name})."\t"[color=#ff8c00])[/color];[/b]
}
$string_to_export .= "\n";
}
Fco. Orellana Maquinaria No 1 (Babor) 23731
Fco. Orellana Maquinaria No 3 (Estribor) 23735
I hope it helps, Greetings
Roberto T.
@rteranm
Callback_column
Started by rteranm, 09 December 2012 - 23:04 PM
- Single Page
Posted 09 December 2012 - 23:04 PM