jQuery UI Widgets › Forums › Grid › how to refresh grid after adding record using jqxwindow popup
Tagged: add, addrow, grid, jqxgrid, jqxwindow, pop-up, popup, record, row, update, updatebounddata, updaterow, window
This topic contains 4 replies, has 2 voices, and was last updated by Dimitar 11 years, 5 months ago.
-
Author
-
Hi Team,
I am trying to refresh grid after adding/updating record in jqxwindow.
But it is not happening.It still shows the old values in jqgrid.Please help..
Thanks,
Syed KhaleelHello Syed Khaleel,
The demo Popup Editing may be helpful to you. Please check it out.
Best Regards,
DimitarjQWidgets team
http://www.jqwidgets.com/Hi Team,
I have tried with your example.but still my grid is not refreshing.
Can you please provide clear explanation on how to refresh grid when row details are updated in jqxwindow.
I have close button in jqx window which calls close from from grid window page.
I have used this line
$(‘#jqxgrid’).jqxGrid(‘updatebounddata’);
thanks,
SyedHi Team,
When i click custom close button i trigger a function which is present in grid window page.
fnClosePropertyMappingDetails = function (msg, type, mode) {
$(“#window”).jqxWindow(‘close’);
if (type) {
$(“#jqxgrid”).jqxGrid(‘updatebounddata’);
}
}after using above code also grid is not refreshing with new values.if anything i have to consider to update the grid please let me know.
Thanks,
SyedHi Syed,
You can update the currently edited row with the method updaterow, as shown in the aforementioned demo. For adding a row, call addrow. The method updatebounddata would be suitable if there are changes to your data source (e.g. database) and you would like the grid to reflect them. For more information, please refer to the jqxGrid API Documentation.
Best Regards,
DimitarjQWidgets team
http://www.jqwidgets.com/ -
AuthorPosts
You must be logged in to reply to this topic.