Column formatting

QuestionsColumn formatting
gattol asked 5 years ago

Is possible to format an entire column with css? (or just html)
Thanks,

3 Answers
Abu Ghufran answered 5 years ago

You can refer conditional-format.php demo in archive (demos/appearance)

// if nothing set in 'op' and 'value', it will set column formatting for all cell
$f = array();
$f["column"] = "invdate";
$f["css"] = "'background-color':'#FBEC88', 'color':'green', 'font-weight':'bold'"; // must use (single quote ') with css attr and value
$f_conditions[] = $f;

$g->set_conditional_css($f_conditions);

gattol answered 5 years ago

If I lock first column (witch should be formatted) happens this:

Schermata 2014-10-21 alle 15.37.02.png

Abu Ghufran answered 5 years ago

Column Formatting is not supported with frozen column and it's known limitation of frozen column function.

Your Answer

8 + 18 =

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

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

Let us improve this post!