Can we edit frozen column in jqgrid -


i have jqgrid inline edit , few frozen columns. gathered information on how make work here. answer in link has frozen column multi-select. wanted know if there way or work around edit frozen column in inline edit.

i have been trying figure 1 out little while now, , able come works situation. can similar.

i created following function called when edit button clicked:

var editrow = function(rowid) {     $('#' + gridid).editrow(rowid);     $('#' + gridid + '_frozen').editrow(rowid); }; 

this make frozen columns appear editable user.

i created following function called when save button clicked:

var saverow = function(rowid) {     $('#' + gridid + '_frozen' + ' #' + rowid + ' > td').each(function () {         var col = $(this).attr('aria-describedby');         $('#' + gridid + ' #' + rowid + ' > td[aria-describedby="' + col + '"]')                 .children(':first')                 .val($(this).children(':first').val());     });     $('#' + gridid).saverow(rowid); }; 

this code take value frozen cell , copy underlying hidden cell - cell value submitted on save.

i have cancel option, calls following method:

var cancelrow = function(rowid) {     $('#' + gridid).restorerow(rowid);     $('#' + gridid + '_frozen').restorerow(rowid); }; 

update: found solution works in ie(8), not in chrome or firefox. web application working on needs compatible ie8, try find solution other browsers well.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -