Bogdan Chirukin asked 4 months ago

Hi i\’m write js code and think that get table data, it wrong how change code to load table on ajax? thnx $(\’table#forms\’).on(\’click\’, \’tr\’, async function () { let id = $(this).attr(\’id\’) // $(\’iframe\’).attr(\’src\’, \'{{route(\’fields\’)}}?rowid=\’ + $(id).data(\’id\’)).css(\’display\’, \’block\’) let table = await $.get(\'{{route(\’fields\’)}}?rowid=\’ + $(id).data(\’id\’)) + \’&grid_id=forms&_search=false&nd=1707725095760&rows=20&jqgrid_page=1&sidx=1&sord=asc\’ $(\’#forms\’).jqGrid(table) })

1 Answers
Abu Ghufran Staff answered 4 months ago


Please refer this code for loading grid with ajax call.

Abu Ghufran - Dev Team
Grid 4 PHP Framework
Bogdan Chirukin replied 4 months ago

Does this code have a working demo? because it doesn’t work for me – I don’t understand why

Abu Ghufran Staff replied 4 months ago

This is just for idea. Master-detail feature is supported in the full version.
You can use similar ajax call and try loading your grid page.

Your Answer

2 + 1 =

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?