Hi Tony,
I think that the user want to set multilelect chechbox based on from the data. One can't define currently
Hello Tony,
I want remind you about one part from the old suggestion.
I answerd last time many questions on the stackoverflow where the reason of posted problem was usage of id of grid having spaces. So I would like remind you about the suggestion to modify the line of code of jqID
return String(sid).replace(/[!"#$%&'()*+,.\/:;?@\[\\\]^{|}~]/g,"\\mce_markeramp;");
and include additional space in the list of characters which need be escaped:
return String(sid).replace(/[!"#$%&'()*+,.\/: ;?@\[\\\]^{|}~]/g,"\\mce_markeramp;");
I am very careful now with the editor used in the forum if one use backslashes in the code. So I repeat additionally in words, that I suggest just add ' ' (space character) in the mask. I think that this simple change will save many time for some developers who uses jqGrid.
Oleg
Hello Tony,
it seems to me that I fond a simple fix of the problem. I posted the pull request with the corresponding suggestion.
Best regards
Oleg
I think that it would be better to rewrite the code which parse cellattr and use
/^s*(w+)s*=s*(["|'])(.*?)2(.*)/.exec(...)
to parce the results returned from cellattr callback. If one use
var attrStr = cm.cellattr.call(...), matches, name, value, quote, tilteValue,
The problem is already fixed in the code on github (see here). You can either do the same modification in your copy of the code of wait for Tony will publish the next version of jqGrid. I hope that he'll publish jqGrid 4.4.4 very soon.
Regards
Oleg
OK I included showQuery: true option in
You are welcome!
At the first look TreeGrid is wrong choice for your requirements. Probably grid with subgrids is what you really need? You will display 10 accounts in the grid having pagination. I would recommend you to add searching toolbar to the grid. If you just add subGrid: true option to the account grid the column with “+” will be add and if the user click on the icon you can create any custom information below the expended row. Typically one creates subgrid with some kind of details inside of subGridRowExpanded.
I recomend you additionally to read the answer which could be helpful in your case.
Regards
Oleg
TreeGrid don't supports paging so all node at one should be displayed by tree grid (see limitations in
You should search the origin of the problem in your code which you don't posted here. Typical error could be usage of multiple changes of the page instead of usage of cellattr, rowattr and custom formatter together with gridview:true option. You should search for origin of the performance problem presumably in your code from loadComplete or gridComplete. I recommend you to read the answer
You should use recreateForm: true
I suppose that you have just an old problem with requirement to use recreateForm: true. See the answer for example.
I suggested Tony multiple times (see here for example) to change default value of
You are right Tony! One should test only for undefined value.
reloadAfterSubmit is just an option which default value is true (see the documentation), but one can change it like any other option. Typically one specify the option as part of parameters of navGrid
I think that the line
try {rowid = data[cnm];}
can be fixed to
try {rowid = data[cnm] || $.jgrid.randId();}
which is equivalent to (short form)
try {rowid = data[cnm] ? data[cnm]
Hi Abani,
I can't imagine that any business requirement can be “use jqModal.js
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top