on_data_display

Questionson_data_display
Mukti asked 4 months ago

I am using CI4. Is there way to use on_data_display

1 Answers
Abu Ghufran Staff answered 3 months ago

Hello, Given that  your controller name is ‘UserController’ and you have a method in that class with a name ‘custom_display’ – the on_data_display event can be used as follows.

$e["on_data_display"] = array("custom_display", "UserController");
$g->set_events($e);
_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

14 + 6 =

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 1 / 5. Vote count: 1

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?