admin

Forum Replies Created

Viewing 15 replies - 241 through 255 (of 635 total)
  • Author
    Replies
  • in reply to: True Scrolling Bug IE7 and IE8 #90569
    admin
    Keymaster

    After doing some debugging it looks to be a problem with IE not reporting the current page correctly. I changed the line as follows and it seems to work.

    I replaced the parseInt with the Math.Round function and it rounds up to the next whole number instead of going down a whole number like the parseInt function does.(ex. if number is .99 the parseInt function will make it 0)

    Starting at Line 272 in the “grid.base.js”

    in reply to: SortTree Method #90558
    admin
    Keymaster

    Thanks for the help Tony!

    just an fyi, I was looking at this page for documentation..

    http://www.trirand.com/jqgridwiki/doku.php?id=wiki:treegrid

    And in the description for the parameter “direction” for the SortTree method

    in reply to: How to edit a cell on ClientSide-Grids (without AJAX) #90550
    admin
    Keymaster

    Thanks a lot tony!

    I didnt know the existence of this wonderfull wiki-article. just tried out your example-pages…

    The concrete solution for my problem described above gives the following line:

    cellsubmit: 'clientArray'

    Regards, cimodev

    in reply to: How to add a new datasource? #90525
    admin
    Keymaster

    Ok, so I can replace a datasource, but can't seem to append.

    in reply to: How to edit a cell on ClientSide-Grids (without AJAX) #90519
    admin
    Keymaster

    it seems, that the error message “no url isset” in every case occurs, even if i define the editurl-property.

    the used version of jqgrid is the 3.5 3.5 beta (buld6- build11)

    in reply to: How to add a new datasource? #90492
    admin
    Keymaster

    You can change your current datasource, but I'm not sure if you can add several datasources. To change the datasource, you could do the following:

    $('#grid').setGridParam({url:'http://localhost:8888/xxx/abc?active=true'});
    $('#grid').trigger(”reloadGrid”);

    in reply to: setGridParam ‘page’ in loadComplete #90491
    admin
    Keymaster

    Ah yes, I managed to solve it on server side. I should have thought of this myself.

    But it's strange, I thought jqgrid solved this problem by itself, because when you do regular paging and you go from a lower pagesize to a higher pagesize (for example, change pagesize 10 to 30), then jqgrid does solve it by itself: if the current page is greater than the pagesize, the current page gets edited.

    Anyway, thanks a lot for your help Tony!

    in reply to: Does not refresh… have to click refresh after going back #90486
    admin
    Keymaster

    check your HTTP headers and see if there's an expiry date associated with the URL your data comes from. Normally this only happens with js or image files, but webservers can be configured to output a header with an expiry date for any url extension treating a service as though it were a file. ie with my webserver I can confgure it so that any url ending in .json will output an expiry date for that component.

    http://yuiblog.com/blog/2007/01/04/performance-research-part-2/

    When the browser saves a component in its cache, it also saves the Expires and Last Modified values. Specifying an Expires date in the past forces the browser to request the image every time the page is viewed (with a few exceptions, such as when users click the browser’s “back” button to return to a page). If the image is already in the browser’s cache and is being re-requested, the browser will pass the Last-Modified date in the request header. This is called a conditional GET request and if the image has not been modified, the server will return a 304 Not Modified response.

    in reply to: Sorting question\issue #90484
    admin
    Keymaster

    Ok.. figured it out. The issue was my data.

    in reply to: Sorting question\issue #90483
    admin
    Keymaster

    Hello,

    After doing some more testing it seems that when I just return the level 0 nodes the sorting

    admin
    Keymaster

    I see – thanks for the info.

    tim

    in reply to: Integrated Search in 3.6? #90473
    admin
    Keymaster

    Here is the code. The error is coming from grid.custom.js

    HTML:

    js:

    in reply to: Dropdown changes dynamically #90472
    admin
    Keymaster

    Hi tony, I have changed, now I'm using $.ajax (I have tried also with a standard javascript ajax function) and all go right, but now I have another problem.

    I used the called to the function on the beforeShowForm event, but doing so the select doesnt fire the right value.

    If I just close and reopen the form all go right.

    Thank you in advance.

    in reply to: Integrated Search in 3.6? #90447
    admin
    Keymaster

    Tony,

    The quote was a typo when I entered the text in the forum, it is not so in my code.

    Anyway, when I put a call to filterToolbar into my script, I get an error on the following line in grid.custom.js:

    th = $(“

    “); 636

    Saying that ts is not defined.

    Thanks for your help!

    Ron

    in reply to: TreeGrid with local data #90446
    admin
    Keymaster

    Hello,

    I did notice at the bottom of this page..

    http://www.trirand.com/jqgridwiki/doku.php?id=wiki:treegrid

    There is a list of “Cautions and Limitations” for the treegrid.. and it looks like adding nodes with addRowData is not supported… and it looks like that is the method you are using in your code.

Viewing 15 replies - 241 through 255 (of 635 total)

Stay connected with us in your favorite flavor!