jQWidgets Forums
jQuery UI Widgets › Forums › Grid › Row data not reverted back when commit is called with "false"
This topic contains 7 replies, has 2 voices, and was last updated by Peter Stoev 11 years ago.
-
Author
-
Hi
Sample code:
$(“#jqxgrid”).jqxGrid(
{
width: 800,
height: 600,
source: dataadapter,
filterable: true,
editable: true,
editmode: ‘selectedrow’,
sortable: true,
columns: [
{ text: ‘Id’, datafield: ‘Id’, width: 150, type: ‘number’ },
{ text: ‘Zeitpunkt’, datafield: ‘Timestamp’, width: 150, type: ‘date’, cellsformat: ‘d.M.y HH:mm:ss.fff’ },
{ text: ‘Source’, datafield: ‘Source’, width: 100 },
{ text: ‘Level’, datafield: ‘LogLevel’, width: 70 },
{ text: ‘Logger’, datafield: ‘Logger’, width: 180 },
{ text: ‘Message’, datafield: ‘Message’ }
]
});When editmode is “selectedrow” :
If I update a cell and in the “updaterow” callback function( which will be called when user comes of that ROW) that is attached to the source when I call commit(false), say the sync with the server has failed for some valid reason, the data for the row is not rendered back.
when editmode is “selectedcell” :
If I update a cell and in the “updaterow” callback function( which will be called when user comes of that CELL) that is attached to the source when I call commit(false), say the sync with the server has failed for some valid reason, the data for that cell is rendered back.
I suppose this should be handled by the jqxGrid framework.
Thanks
Hi Shankar,
Thank you for the feedback. We will test it with editmode set to “selectedrow”. As a workaround, you can use the Popup Editing mode which is also an Editing of a Full Row.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com/Thanks Peter.
Hi Peter
Can you please post any updates on this if you have checked and any plans to fix( if it was decided as work item ) this in coming releases ?
Thanks
ShankarHi Shankar,
The work item is for jQWidgets 3.3.0 which would be the next release.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com/Thanks for the update Peter.
Hi Peter
Can you please let me know the tentative date for next release i.e 3.3.0/ it will be mentioned at some place in the website and also the work item that was created for the same?
Thanks
ShankarHi Shankar,
Information about new versions can be found on this page: http://www.jqwidgets.com/jquery-widgets-documentation/documentation/releasehistory/releasehistory.htm. The next release is planned for the first week of May.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com/ -
AuthorPosts
You must be logged in to reply to this topic.