Hello,
If you want to drag the entrie grid you can use jQuery UI dragabble. This can be achieved easy.
You can apply the draggable to the following element – gbox_mygrid – where mygrid is the id of the gird.
The gbox_mygrid
Hello,
You should define the reader in grid options. Also you will need to provide additional information about the number of records and etc, as described into the docs.
If this is not possible for you you should define datatype as function and put some information into the response before pass it to the grid.
Best Regards
Tony
P.S.
You can not define your own JSON parse function if you set
$.jgrid.useJSON = true;
The grid uses it if the flag is set to true
Hello,
1.Something is not correct with the html definition. See here what you need to put
in the html definition when using the grid
http://www.trirand.com/jqgridwiki/doku.php?id=wiki:how_to_install
2. How do you expect to put so many buttons on pager when you do not have enoght room for this?
Please set the width of the grid to greater value.
Hello,
How look your json output. Maybe you will need to configure your jsonReader.
Look here
http://www.trirand.com/jqgridwiki/doku.php?id=wiki:retrieving_data#json_data
Regards
Tony
Hello,
Sorry – no.
Best Regards
Tony
Hello,
Check your code, especially the positions of the navigator buttons elements. When the pager is created we divide it in 3 parts and we try to put all the buttons (if there is available space for this)
Best Regards
Tony
Hello,
On this direction you should not expect big improvement, since the jqGrid rendering engine does not use any jQuery command when the data is loaded. Also the speed should be when the grid and any other grid related elements are created.
Best Regards
Tony
Hello,
It seems that you do not have included in the download the grid.jqueryui.js file. Check this box in the download manager. It is at bottom.
Some othe note. You do not need to include the src code if you have already included the jqGrid min file. This will cause a lot of problems maybe.
Best Regards
Tony
Hello,
Thanks
Also fixed when jqModal is used. Now the dialog appear at the row –
Hello,
Now I see what you mean exactley – if I understand rigth. The problem is that in loadComplete you do not have acces to the data, while with custom data type before using addJSONData you have access to all rows before inserted into the grid.
Glad that datatype function helps.
Best Regards
Tony
Hello,
Sorry, for this – it seems like this is the same as when we use loadComplete.
Hello,
You can use a datatype as function and here you can do what you want
Steve,
Merry Christmas!
No there is no error here.
The full code say:
The original gridComplete should obtain the saved one before some operations.
The
if(p.gridComplete = complete) {
complete();
}
in the assigment the value can be either null or function if the value is null – nothing will happen else we restore the original and exectute the event.
Not sure if I explain it good.
Something similar can be see in grid.common.js
function findPos(obj) {
Hello,
The more interesting part here is the jqGrid code. Check to see if you have a not needed commas at end of the colModel.
Regards
Tony
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top