Column formatting

QuestionsColumn formatting
gattol asked 10 years ago

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

3 Answers
Abu Ghufran answered 10 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 10 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 9 years ago

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

Your Answer

3 + 2 =

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?