Grid: change column name dynamicly

Hello together and Happy New year.

I need to change on a grid column name dynamically based on some input. Is that possible?

BR
Stefan

1 Like

sc_label({my_equipment}) = “Cust Name”;

this function seems to have a bug getting always a error. This is not my code on the line.
Parse error: syntax error, unexpected ‘{’, expecting ‘]’ in \grid_tour_equipment\grid_tour_equipment_grid.class.php on line 2177

It’s hard to say without seing you code, it may be because of a syntax error on a previous line

I don’t have problem with this function

If my_equipment is the name of the field, did you try this?

sc_label(“my_equipment”) = “Cust Name”;

1 Like