Hi,
just want to know if there is any way to just set the only column setting that needed to be set?
let say i have 10 columns in a table.
then i need set total summary field type for the fifth column only.
so i don't have to set all the nine columns.
2 Answers
If you want to customize any specific column properties, and let other columns be displayed from table definition, you can pass 2nd argument of `set_columns($cols,true)` to `true`.
$col = array();
$col["name"] = "company";
$col["edittype"] = "textarea";
$cols[] = $col;
$g->set_columns($cols,true);
In this way, only column with name company with have new properties, rest will have default.
Your Answer