Hi Peter,
No the grid is created before, the commented code only do an ajax call to save the modified lines (enregistrerLignesModifiees is french for saveModifiedLines).
The first ajax call to save the modified lines is quick (take only 1 to 3 seconds) and the second ajax call take a long time (more than 100 seconds) and the load image doesn’t show for this one (it show only if i comment “enregistrerLignesModifiees” like the code i posted).
I forgot to mention that in the commented function, i do this when the ajax call succeed :
$("#id_gridPeriodes").jqxGrid('updatebounddata', 'data');
$("#id_gridPeriodes").jqxGrid('refreshdata');
Maybe the problem is here ?
Regards,
Edit :
This was the problem, if i comment the 2 lines code it seems to work. I think i know how to fix this now.
Asking the question and your answer made me realize the problem… thanks