Hello,
You should do it like this:
$('#grid').jqGrid('setGridParam',{onSelectAll: function(row, status) {alert(“OMG!”);}});
Regards
Tony
Hello,
In xmlReader set repeatitems to false. (the default is true)
Regards
Tony
Hello,
Hope the answer in stackoverflow solves your problem
Regards
Tony
Hello,
It depends which version of jqGrid do you use.
Regards
Tony
Hello,
First of all thenks for pointing this.
jqGrid is GPL v2 licensed. The reason for this is that the home was canged to point to v3, but we do not change the link
Now everthing is OK and corrected.
You can see the result here:
http://github.com/tonytomov/jqGrid/commit/365d74bd314f94baa04b49ca7b30bc7d6278fe40
Best Regards
and thanks again
Tony
Hello,
The clear way IMHO (which work for me) is as follow:
Obtain your select via dataUrl option – the select can be something like this
2
3
4
Then define in the css:
Hello,
Currently the pager does not work with local data. It will be in 3.7 releae
Regards
Tony
Hello,
Sorry this is not jqGrid related, but PHP related issue.
Regards
Tony
Hello,
I do not think it is a jqGrid problem. Just a opinion
Maybe you will need to define somethings like this
$grid1 = <<<GRID1
here first code
GRID1
$grid2 = <<<GRID2
here second code
GRID2;
And the echo the $grid1 and $grid2 depending on conditions
Regards
Tony
Hello,
In this case you will need to set the position of the navigator to the center – i.e:
}).navGrid('#pager',{edit:false,add:false,del:false,search:false, position:'center'})….
Regards
Tony
Hello,
For a complex xml structure you maybe will need to set these names in colModel, but actually it depends on how your structure is organized. By example if you point in the xmlReader
to the right row structure and this structure contain only the names there is not need to do chnanges in colModel, but if your row contain another complex data – yes this is needed.
Also I think that in your example repeatitems should be set to false and not true in order this to work.
Regards
Tony
Hello,
Did you have read:
XML Notes and Limitations
in the docs here:
http://www.trirand.com/jqgridw…..imitations
Regards
Tony
Hello,
Open the grid code and look at beginReq and endReq functions
Regards
Tony
Here's what the code does: I bind a collection of objects to the grid the usual way. But then in afterInsertRow, I manually add a row after each bound row using addRowData containing links to manage the data in the row above.
I now believe the problem is not with the JSON data but with a change to something else. With 3.6.1, I can break inside afterInsertRow and see that:
rowid = an integer
rowdata = my columns
rowelem = the underlying object bound to the row
But with 3.6.4, I can break inside afterInsertRow and see the same results as but only every other time. The remaining times I see that:
rowid = an object whose properties suggests its the grid itself
rowdata = a string with the rowid of the row I last manually added
rowelem = the row I last manually added
I think the difference is that in 3.6.1, the addRowData inside afterInsertRow didn't call afterInsertRow but in 3.6.4 it does. Can anyone confirm this? Can I call addRowData in a way that doesn't trigger afterInsertRow?beginReqbeginReq
Hello
See docs. Ther is a option shrinkToFit
Regards
Tony
Hello,
In order to be a clear. The data that you return from server to load GRID DATA does not contain the key, but the value.
Hope you understand what I mean now.
Regards
Tony
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top