re-apply css after editing using rowactions

Questionsre-apply css after editing using rowactions
andyvill asked 5 years ago

Ref: apply css after editing using rowactions

dear Abu
I need to mix css with the inline edition,

In general I need that after editing the value using rowactions, the CSS condition is evaluated again.

Example:

for value = 1; fontcolor = red
for value = 2; fontcolor = blue

When I change the value from 1 to 2, the idea is that the fontcolor is updated from red to blue.

I’m trying with the examples on the page, but I can’t find any example where this works ..

attentive to your comments

Thank you!

1 Answers
Abu Ghufran Staff answered 5 years ago

You need to set reloadedit to true:

$opt[“reloadedit”] = true;
$g->set_options($opt);

This will force reloading data and apply new css on row actions.

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

20 + 0 =

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?