How to set column color without any condition ?

QuestionsHow to set column color without any condition ?
Hemant Mahale asked 6 years 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 6 years 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
Grid 4 PHP Framework
 
Your Answer

12 + 20 =

Login with your Social Id:

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 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

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

Let us improve this post!

Tell us how we can improve this post?