Hi Tony!
After downloading releasede version of jqGrid 3.8 I had the same problem which i described before. After debugging I could see that the jqGrid 3.8 not what you write befor or what I suggested. It has a combination of one old line and one new line:
if(ts.p.grouping && F) {
Hi Jack,
I am glad to hear that I could help you. The RowVersion was really needed in the exmple for the optimistic locking. I took the example from the project where the data will be hold on the Microsoft SQL Server and every row in the database has additional column with the non-nullable value of the type timestamp (http://msdn.microsoft.com/en-us/library/ms182776.aspx for details).
On every Edit operation in the jqGrid the value from the RowVersion will be send to the server automatically because the RowVersion column I defined with
hidden: true, editable: true, editrules: { edithidden: false }, hidedlg: true
option. So the value could be used for the optimistic locking. To use RowValue also in Delete operation I had to add the RowValue manualy inside of onclickSubmit as I described befor.
Best Regards
Oleg
If you define addfunc function as a part of parameters of navGrid your function will be called instead of jqGrid(“editGridRow”,”new”,pAdd);
Onother way will be to add:false parameter of the navGrid and add a custom button instead which looks like the add button (has “ui-icon-plus” as icon).
One more option is to modify existing Add dialog inside of beforeShowForm functions: see my old answer as an example.
Best regards
Oleg
It seems to me that selection is supported only on the the current page. If you need support multiselection over multiple pages you will have to hold the information separately and set selection inside of your custom /jqgridwiki/doku.php?id=wiki:pager#events and my answer on the stackoverflow.com could be helpful for you.
Best regadrs
Oleg
First of all you should remove comma after the refresh: “refresh:true,}” if you have the same problem in your code.
Now to your question. The requirement to use different mtype values I understend good, but having mtype absolute dynamic I don't understend.
You can overwrite url dynamicaly inside of onclickSubmit function. For example below you can find an example from one of my scripts:
jQuery(“#gird”).jqGrid('navGrid','#pager_id',
Hello Mark,
first of all try to remove nested comments from your code (it is not allowed in JavaScript) and remove comma after editurl:
The code like
Hello Tom!
You current code will be run only one time – at the initialisation time when you call 'navGrid' function. I wrote you before that if you want to have dynamic message (if the text will be different at different calls) like you as want you have to do this in beforeShowForm event handle. You can do like following
jQuery(“#list”).jqGrid('navGrid','#pager',
The function getCell use formatter to get the value. The formatter test whether the unformatter
Hello Trober,
in your question you wrote nothing about inline editing. You asked about the data send from the server. If you load the data from the server then the event function loadComplete will be called where you have access to the original data send from the server.
If you implement inline edit you call somethere the metheod editRow. You can use aftersavefunc function to see the original data send from the server.
Best regards
Oleg
I would you recommend to use data parameter of loadComplete
The answer on your question depends on how you use delGridRow: directly of indirectly (per navGrid for example). In general you can include in the list of delGridRow
You can use /jqgridwiki/doku.php?id=wiki:methods, /blog/?page_id=393/feature-request/adding-title-attribute-to-grid-table-headers/, /blog/?page_id=393/help/custom-tooltiptitle-in-row/
Hi Gert!
You can try to use
jqGrid, like Excel for example, supports column width which is the same for the same cells and the header. If you adjust the column width with respect of the mouse you change the width for the whole column: headers and cells. Its the only behavior supported in jqGrid. What you suggest seems for me, that the column header will be over the next column and the look of the whole grid after the changed column will be wrong.
Regards
Oleg
Currently the feature is not yet implemented in jqGrid. On the main jqGrid page http://www.trirand.com/blog/
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top