Hello,
The exception you mentioned is caused by your code in jsonReader
The key: true definition is not compatible if your json data (for the grid – in this case serverResponse variable) is not in name value pair.
In order to solve this proble. delete key : true from colModel idPer definition and change you json reader like this:
|
1 2 3 4 5 6 7 8 9 10 11 |
... jsonReader : { root: "d.rows", page: "d.page", total: "d.total", records: "d.records", cell: "", id: "0" }, ... }); |
Kind Regards,
Will
Guriddo Support Team
Hello,
We missed the master definition. It is important too.
Also try to use only one detail grid excluding the other 4. Please let us know if in this case the submitting is ok.
Please post your master grid too.
Kind Regards,
Will
Guriddo Support Team
Hello,
Sorry, but I do not understand. Did you test your code with the latest jqGrid 5.1?
The code work the same way as in 4.4. See your code with this version here
Kind Regards,
Will
Guriddo Support Team
Hello,
Could you please post the code in versino 4.4 where you obtain the data the way you describe.
I’m not sure that this was true. It is up to you what will be displayed in select – you can set key and value to have the same content. In this case this will work for you.
Kind Regards,
Will
Guriddo Support Team
Hello,
Please look at this forum post here
As for the second problem we can not reproduce it. Can you please demonstrate us the problem with simple code?
Thank you
Kind Regards,
Will
Guriddo Support Team
Hello,
Unfortunately dataUrl can’t be used with formatter select. The reason is very simple.
Suppose you have a ajax call which load data into the grid and one field has definition formatter select. When the data is retrieved from the grid, the grid call the formatter for this column before to put the data into the grid cell. If you have dataUrl this means another ajax call – this way the grid should wait until the dataUrl retrieve that information. This will extremly slow down the process.
The best solution when using formatter select is to retrieve the select data before to call the grid setup.
I hope you understand the situation.
Kind Regards,
Will
Guriddo Support Team
Hello,
Thank you for the question.
We have do a lot of work in GitHub regarding the new jQuery 3.0. Actually you can grab the latest build from GitHub and test it.
Support for jQuery 3.0 will be on the next official release expected September this year.
Kind Regards,
Will
Guriddo Support Team
Hello,
I apologize for my error. To use the event afterSetGrid this options should be set as third parameter, So the correct code is:
|
1 2 3 4 5 6 7 |
... $.jgrid.loadState('gridName', null, { afterSetGrid : function( jqGrid ) { jqGrid.trigger('reloadGrid', [{current: true}]).trigger('resize'); } }); .. |
To restore the navigaror buttons use the grid option storeNavOptions – i.e
|
1 2 3 4 5 6 |
$("#grid").jqGrid({ ... storeNavOptions : true, ... }); |
Kind Regards
Guriddo Support Team
Hello,
Thank you for the problems posting.
1. Currently it is not possible to load only the grid without data. In order to do this you can simple export your current grid parameters – just call getGridParam method without parameters.
You can solve the problem using the saveState loadState using afterSetGrid event in loadState something like
|
1 2 3 4 5 6 7 |
... $.jgrid.loadState('gridName', { afterSetGrid : function( jqGrid ) { jqGrid.trigger('reloadGrid', [{current: true}]).trigger('resize'); } }); .. |
2. I see into the code of unloading the grid some problems.
Could you please write the name of the grid.
In order to write code in his forum it is better to switch in Text mode – see upper right corner and then mark the the text and push the code button on the text editor toolbar.
Kind Regards,
Will
Guriddo Support Team
Hello,
1. I do not think that this is 100% jqGrid problem. It is a common jQuery UI dialog problem – see here. To solve the problem add
|
1 2 3 |
<style type='text/css'> .ui-dialog { z-index: 2000 !important ;} </style> |
2. To solve the second problem add in your jqgrid css (or a style property in the head section) file the following
|
1 2 3 4 |
... .ui-search-input {padding-right: 3px} ... |
Kind Regards,
Will
Guriddo Support Team
Hello,
The link you provide isn’t working.
Could you please post the correct link, so that we can see whet is happen?
Thank you
Kind Regards,
Will
Guriddo Support Team
Hello,
Unfortunately at the moment you can’t set common values for all selects.
One possible solution is to use templates in the colModel. This way you can set common values for all your selects.
|
1 2 3 4 5 6 7 8 9 10 11 12 13 |
var selectTemplate = { edittype: 'select', stype :'select', searchoptions: { cacheUrlData: true, // more options } editoptions: { cacheUrlData: true, // more options } }; |
and then when you set grid
|
1 2 3 4 5 6 |
colModel: [ ... { name: "myselect", template: selectTemplate }, ... ] |
Kind Regards,
Will
Guriddo Support Team
Hello,
Please tell us which version of jqGrid php is used and which version of jqGrid JavaScript is used?
Please post your code (or send it to us) including all scripts – javascript and php and html
We can not help other way.
I suggest you to start with the demo in order to see if it is working (the export)
Kind Regards,
Will
Guriddo Support Team
Hello,
Until now we do not have problems running Guriddo Suito PHP with php7.
You simple can download the demo , make 1 minute install and test.
Kind Regards,
Will
Guriddo Support Team
Hello,
When using SQL Server do the following:
|
1 2 3 4 5 6 7 |
... // set ansi standard jqGridDB::query($conn, 'SET QUOTED_IDENTIFIER ON'); $eventcal = new jqScheduler($conn); // set ansi quote $eventcal->setQuote('"'); ... |
Please let us know if this solves the problem.
Kind Regards,
Will
Guriddo Support Team
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top