jQuery UI Widgets › Forums › Grid › Grouped Column mode editing refresh issue
Tagged: group, grouping, jqxgrid grid
This topic contains 3 replies, has 3 voices, and was last updated by Peter Stoev 9 years, 7 months ago.
-
Author
-
Seem to be an issue editing in group mode. When I edit a cell and press enter the cell refreshes back to the old value. The database value is save correctly so if you refresh the page the new value is correct. If I remove the Group column the edit and screen refresh is all correct, it is only an issue with a Grouped column and it is only visual. The data is being saved…..
I am using a cellvaluechanged function to edit via Ajax as shown in the following;
$(“#jqxgrid”).bind(‘cellvaluechanged’, function (event) {
var rowid = args.rowindex;
var column = args.datafield;
var value = args.newvalue;
var oldvalue = args.oldvalue;
var data = new Object();var id = $(‘#jqxgrid’).jqxGrid(‘getcellvalue’, rowid, “ID”);
data.update=’true&’;
data.id=id;
data.column=column;
data.value=value;if(value !== oldvalue ){
$.ajax({
dataType: ‘json’,
url: ‘ApplicationData.php’,
cache: false,
data: data,
success: function (data, status, xhr) {
$(“#message”).html(“Transaction: ” + xhr.responseText);
commit(true);
},
error: function (jqXHR, textStatus, errorThrown) {
$(“#message”).html(“Transaction: ” + jqXHR.responseText);
commit(false);
}
});
}
});Hi David,
Thank you for the provided feedback. We will test the reported issue and in case we reproduce it, we will create a work item about it.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comHello,
I am having the similar issue and would like to hear about the possible solutions.
I am using jQWidgets v3.5.0.Thanks in advance!
Hi amey5665,
You may have an issue, but it is not similar because this one is resolved years ago. If you would like to report something, then please prepare and share jsfiddle.net sample which detailed instructions.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com -
AuthorPosts
You must be logged in to reply to this topic.