Conditional Button

QuestionsConditional Button
Javier Lopez asked 10 years ago

Hello.

I have the next code:

$col = array();
$col["title"] = 'ENVIADO?';
$col["name"] = 'ds_enviado';
$col["width"] = '63';
$col["editable"] = false;
$col["frozen"] = true;
//$col["hidden"] = true;
$cols[] = $col;

(This Column only display 2 values: "S" or "N")

I need put a button in other Column only if the value of the column is "S"

In the Buttom Column i write:
$col["condition"] = $row["ds_id"] == "S";

But not work….

Can help me?
Thanks!

Your Answer

10 + 13 =

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?