Conditional Data

QuestionsConditional Data
Michael Stanger asked 4 years ago

Hi Abu,

Is it possible to set conditional data to something like “if the first 3 letters of the field equal “ABC” display button.

i.e. $col[“condition”] = array(‘$row[“name”] LIKE “ABC%’, $buttons_buy, $buttons_try);

 

1 Answers
Abu Ghufran Staff answered 4 years ago

Yes you can do that with JS based formatting which give you far more support.

You can refer demos/appearance/conditional-format-ext.php

https://www.gridphp.com/demo/demos/appearance/conditional-format-ext.phps
line 32, 97-149

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

0 + 8 =

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?