phpgrid_error not work with cellEdit= true;

Questionsphpgrid_error not work with cellEdit= true;
Chengbin asked 2 months ago

HI

When I enable cellEdit=True;  the phpgrid_error function can not populate the correct error message when user input data through cell edit, it always only gives error message “500 : Internal Server Error” instead of the error message I input.

(The error message pop up fine when user input through “Edit” button with dialog)

Code:

$opt[“cellEdit”] = true;

$e[“on_after_update”] = array(“edit_list”, null, false);

function edit_list($data)
{

phpgrid_error(“hello”);

}

1 Answers
Abu Ghufran Staff answered 2 months ago

Hello,

You are using older version of the build and it\’s added in latest version.

I’ll be emailing you back update instructions.

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

20 + 9 =

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?