I also noticed anoter message in this form which wrote that Enter key is unbinded too early. How to fix this so that Enter/Esc are unbinded only if save was successfull ?
Your Filter class uses switch for every type. Maybe it is possible to use Convert.ChangeType instead of this to remove this switch as described in
http://www.codeproject.com/KB/aspnet/AspNetMVCandJqGrid.aspx?msg=3586944#xx3586944xx
I posted about this issue in
/blog/?page_id=393/help/how-to-convert-search-string-to-where-clause-in-asp-net-mvc/#p23187
Have you found any solution ?
recommends to use
jQuery(this).editRow(rowid,true,null,
function(response, postdata){
var data = jQuery.parseJSON(response.responseText);
alert(data.result.success);
return true; });
maybe this helps
I posted about this issue in
/blog/?page_id=393/help/how-to-convert-search-string-to-where-clause-in-asp-net-mvc/#p23187
THis thread has link to stackoverflow where there was suggestion to return true always from onSuccess function to prevent kyboard binding loss. You may try this.
Have you found solution ?
Thank you. In case or error my appli returns 4xx http error code.
Same issue is described in
/blog/?page_id=393&forum=1&topic=5672&watch=user
/blog/?page_id=393/help/ajax-validation-while-saving-an-inline-edit/
https://github.com/tonytomov/jqGrid/blob/master/js/grid.inlinedit.js
show two different names:
line 23 and 103
Thank you. Great sample.
Erorr handler used in this code fails if inline editing
I created method below to encode/decode jquery ids. This will also handle the case if id is empty. Will thoser methods encode all characters which are not alowed in jquery ids?
Is it resonable to use those methods instead on md5 or base64 ?
This is dictionary table contianing different languages in columns. Primary key is phrase in source language. This table is used for translations. Surrogate id will be used then only by jqGrid.
I'm not sure that adding surrogate id to this table is reasonable for this.
Base64 encoding makes id too long and unreadable in packet dumps when debugging.
How to create encoder/decoder which masks only characters which are not allowed in jqGrid ids? Where to find list of such characters ? Are most unicode characters allowed in ids ? Should only spaces encoded or other characters also ?
Will serializeDelData, delData work also in row edit mode ? They are documented in form editing chapter so I expected that they will not work in row editing mode.
URL limit may be too short so onClickSubmit cannot used. Db structure change requires lot of changes in existing application, it is too expensive.
So only way seems to use base64 to create id1_id2
As I wrote composite key components are text strings. They can contain any characters including spaces and _ characters. Due to jqGrid bug spaces and maybe some other characters are not allowed in ids.
The other possibility is to provide data for selected leaf and
I also notices that even without
Application loads new page on every node (leaf or non-leaf click ) using
I tried but no
Please use setTimeout:
gridComplete: function() {
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top