Does it work in the free version Footer Summary??

QuestionsDoes it work in the free version Footer Summary??
Torin asked 7 years ago

Hi everyone

I'm just starting my adventure with phpgrid and I came to Footer Summary which completely does not work: /
I wrote:
$ opt ["footerrow"] = true;
And there was an empty footer in the grid.
Later:
$e["js_on_load_complete"] = "grid_onload";
$g->set_events($e);
$e["js_on_load_complete"] = "grid_onload";
$g->set_events($e);
<script>
function grid_onload()
{
grid.jqGrid('footerData','set', {id: 'Test'});
}
<script>

and nothing works anymore 🙁

500 Internal Server Error

What am I doing wrong, or maybe it will not work in the free version?

Regards
Torin
sorry for my English…

3 Answers
Torin answered 7 years ago

of course, the function has a form

function grid_onload()
{
var grid = $("#list1");
grid.jqGrid('footerData','set', {id: 'Test'});
};

Abu Ghufran answered 7 years ago

Hi,

Events does not work with free version.
You can try it in grid options:

$opt["loadComplete"] = "function(){grid_onload();}"

Torin answered 7 years ago

Thank you Abu! Now it is working !

Your Answer

14 + 4 =

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?