Please re-read my original post. The “_search” parameter is not being passed in this instance.
The only parameters being passed are: “field”, “op”, “data” and “groupOp”
(jqGrid 3.5.2)
Sorry about that. I'm just being stupid.
I never thought it did work because jqGrid renders multiple values as a string. That made me believe something was wrong, and instead of clicking the cell to see what would happend, I spent a few hours looking for the answer on the internet.
This is how you do it:
ship:["FedEx","TNT"]
Easy as that.
Found the problem. I need to set the dateFormat:”mm/dd/yy” and everything works!
It's the css associated with ui-widget-content which is assigned to the outermost div:
.ui-widget-content { border: 1px solid #e8eef4;…
ok thx
I thought already about doing this way. just pass another id which is a combination of both.
I thought there might be a better way:)
javascript jquery ajax calling
url = “server.php?datarow =”+ datas;
$.get(url, function(){
In Firefox, I'm looking at the generated source right now and I see the following three divs:
The first encloses the second which encloses the third. As you can see they all have a width of 500px. Because the UI classes have borders this results in content overflow and none of the browsers I have used (IE 7, IE 8 or Firefox) display the grid exactly right. The right borders are off by a pixel or two or the border is extra wide depending on the browser.
Hello Tony,
thank you for your quick answer:
I want to unformat link, when there is a content in a other colum = casesensitiv.
Greetings
Scharlotte
Dear Tony,
I found out the problem was caused by using .footerData in gridComplete. I used that instead of userDataOnFooter:true because I don't want the footer to follow column formats (I have a count below checkbox column). It seems clearGridData() also triggered gridComplete and footer was refreshed with old data after cleared by $(“.ui-jqgrid-ftable td”,$t.grid.sDiv).html(” “); in grid.base.js. Besides, footer's grid lines will remain there if the cell values are cleared individually.
Best regards,
Rayson
Thanks, Soy. It was great help.
Hi Tony. Just a simple subgrid:
Code:
Hi thx for your reply.
I think I have to define my problem more clearly.
When I use the getGridParam method I get the id of this row(in my case the softwareid). The problem is that I have multiple rows with the same id(1-3 and 4-6). When I try to get other values of this row jquery cant know which row I mean and thatswhy I always get the first row with this id.
I hope you know get the problem I have.
Here is the code I am using atm:
I found a way to achieve this behaviour.
I added the beforeShowForm to Navgrid
beforeShowForm:
function(eparams){
I have the same problem. I want to delete rows in a table but the key consits of 2 ids
Example table
| Softwareid | Serverid |
|---|---|
| 1 | 4 |
| 1 | 3 |
| 1 | 16 |
| 3 | 6 |
| 3 | 3 |
| 3 | 8 |
I try to get the id with getGridParam('selrow');
Imagine I select row 3. getGridParam('selrow'); returns 1 in this case(I didnt defined a key column so the first one is the id). Than I need to get the second id of the server (16).
Here I use getRowData(1). The problem is quite simple. Now I get the values softwareid=1 and serverid=4 instead of 1,16.
How can I solve this problem? Is there some kind of internel id for a row which I could use?
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top