format a column

Questionsformat a column
Anthony Kam asked 2 years ago

Hi

I want to format a column without conditions.

for example, make the ‘title’ column bold or a larger font size:

I tried this and nothing happened.
$f = array();
$f[“column”] = “program_title”;
$f[“cellcss”] = “‘font-weight’:’bold'”;
$f_conditions[] = $f;

possible?

Thanks.

2 Answers
Abu Ghufran Staff answered 2 years ago

You need to use JS based convention (fontWeight).

$f["css"] = "'color':'green','fontWeight':'bold'";
_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Anthony Kam replied 2 years ago

is there a way to reference a css class? Like

$f[“cssclass”] = “grid-column-title”;

Thanks.

Abu Ghufran Staff replied 2 years ago

Currently it’s not supported.

Abu Ghufran Staff answered 2 years ago

I’ve implemented this change and sending you latest build. You can use following with it.

$f["class"] = "grid-column-title";

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

18 + 11 =

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?