How to set column color without any condition ?

QuestionsHow to set column color without any condition ?
Hemant Mahale asked 1 week ago

Hello PHPGRID Team,

Here, I want to set the light gray color with a not-allowed cursor on my non-editable column, so mobile user and a desktop user can understand it visually.

Thanks, Advance

1 Answers
Abu Ghufran Staff answered 1 week ago

Pasting from docs:

If nothing set in ‘op’ and ‘value’, it will set column formatting for all cell, e.g.

$f = array();
$f[“column”] = “invdate”;
$f[“css”] = “‘background-color’:’#FBEC88′, ‘color’:’black'”;
$f_conditions[] = $f;

Refer demos/appearance/conditional-format.php for reference.

_________________________
Abu Ghufran - Dev Team
PHP Grid Framework
 
Your Answer

10 + 8 =

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating / 5. Vote count:

As you found this post useful...

Follow us on social media!

We are sorry that this post was not useful for you!

Let us improve this post!