I want to auto reload the phpgrid every 1 minute, as new data will be added to the database every minute. In all the examples, there is no Auto Reload available.
How can it be done? Please share a sample code.
Regards,
Seems like you are doing some very interesting implementation.
Here is the code to auto reload.
setTimeout("jQuery('#list1').trigger('reloadGrid',[{page:1}]);",1000);
Where list1 is the grid identifier you passed in render().
Thanks very thanks, I searched everywhere that function.
I have an operation with two fields, a third field shows the result but did not update.
Field1 + Field2 = Field3
1 2 = 3
Update, but just in DB cause in the grid showing me:
Field1 + Field2 = Field3
4 2 = 3
Now, i can update in DB and the Grid with that.