Problem with display grid

QuestionsProblem with display grid
Alessandro Agosta asked 3 years ago

hello,

I tested the free version of the library and yesterday we bought the enterprise license.
With the free license I loaded the grid with an ajax call,

function load_grid(){
    surl= '../mygrid.php';
    $('#bodycontainer').html('');
    $.ajax({
        url: surl,
        async: false,
        success: function (data) {
            $('#bodycontainer').append('<div class="container" id="divgrid"></div>')
            $('#divgrid').html(data);
        },
        error: function (xhr, ajaxOptions, thrownError) {
            alert(xhr.status);
            alert(thrownError);
        }
    });
}

installed the enterprise license the grid is not displayed.

I tried to replace the jqgrid_dist.php file with the free license one and everything work.

any suggestion?

King regards

Alessandro

1 Answers
Abu Ghufran Staff answered 3 years ago

Hello,

Please try with this code to load datagrid via ajax call.

Code: https://www.gridphp.com/demo/demos/master-detail/master-detail.phps Line 184.
Demo: https://www.gridphp.com/demo/demos/master-detail/master-detail.php

PS: Please use either direct email OR forum for a question. If the question is of public nature and does not have confidential code or files, you can send on group.

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

1 + 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 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?