Row Colors based on Values

Hardus

Member
HI,

Is there a way to do a custom function which will change the datagrid row color based on the value of a cell?

Is there a guide somewhere on creating datagrid templates? I know a bit of Html.

[pre]
You are using DaDaBIK version 9.2-Monterosso enterprise, installed on 11-15-2018 (installation code: 140855bc739c14ccd4), the latest version of DaDaBIK is 9.2-Monterosso released on 11-07-2018

You are runnning the last release of DaDaBIK

PHP Version: 7.2.10-0ubuntu0.18.04.1

mysql version: 5.7.24-0ubuntu0.18.04.1

Web server: Apache/2.4.29 (Ubuntu)

Client: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36

[/pre]
 

eugenio

Administrator
Staff member
Hello,
no, it is not possible to impact on the rows color using custom functions.

About datagrid templates, it's pure HTML (except from dadabik_link and dadabik_field placeholder), you can see the instructions in the in-line help (click on the question mark close to the datagrid template box). To see an example of template, you can see the movies library demo (https://dadabik.com/index.php?function=show_company_demo)

Best,
 
Top