This topic is locked

How to manipulate custom button in grid on list page

10/7/2020 5:11:14 AM
PHPRunner General questions
U
uli author

I have a custom button in each grid row.

Depending on values of some fields in the record the button's CSS, class or label should be changed.

I'm aware of the jquery or javascript to do this, but don't find a way where to apply this.

I would be grateful for some help.
Thanks in advance.

HJB 10/7/2020
U
uli author 10/7/2020

Thanks for the link!

This tutorial covers the static part.

What I'm looking for is to change the attributes of the grid buttons depending on the values of the record they are in.

e.g. if the creation date of the record is older than xxxx the button is red and active.