admin

Forum Replies Created

Viewing 15 replies - 526 through 540 (of 635 total)
  • Author
    Replies
  • in reply to: “Single Searching” followed by form post #88454
    admin
    Keymaster

    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)

    in reply to: populate select boxes with multiple values #88448
    admin
    Keymaster

    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.

    in reply to: daterangepicker integration with jqGrid – Error #88433
    admin
    Keymaster

    Found the problem. I need to set the dateFormat:”mm/dd/yy” and everything works!

    in reply to: possible incorrect width values #88429
    admin
    Keymaster

    It's the css associated with ui-widget-content which is assigned to the outermost div:

    .ui-widget-content { border: 1px solid #e8eef4;…

    in reply to: More than one Key column #88425
    admin
    Keymaster

    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:)

    in reply to: setRowData send to server? #88410
    admin
    Keymaster

    javascript jquery ajax calling

    url = “server.php?datarow =”+ datas;

    $.get(url, function(){

    in reply to: possible incorrect width values #88382
    admin
    Keymaster

    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.

    in reply to: Formatter / unformat link #88381
    admin
    Keymaster

    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

    in reply to: action of clearGridData() #88379
    admin
    Keymaster

    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

    in reply to: datepicker ui #88371
    admin
    Keymaster

    @Nathan, @Tony, yes that was it, thanks.

    in reply to: How to make external search form ? #88364
    admin
    Keymaster

    Thanks, Soy. It was great help.

    in reply to: Subgrid Hyperlinks Don’t work. #88360
    admin
    Keymaster

    Hi Tony. Just a simple subgrid:

    Code:

    in reply to: More than one Key column #88357
    admin
    Keymaster

    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:

    in reply to: Default Value in form #88327
    admin
    Keymaster

    I found a way to achieve this behaviour.

    I added the beforeShowForm to Navgrid

    beforeShowForm:

    function(eparams){

    in reply to: More than one Key column #88326
    admin
    Keymaster

    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?

Viewing 15 replies - 526 through 540 (of 635 total)

Stay connected with us in your favorite flavor!