The grid reloads for me well.
but the second code variation is incorrect anyway.
You are reloading the grid’s before it’s actually sent from the form, so you will send no data or incorrect one.
Please, try to use the solution with a callback.
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan