follower

Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Author
    Replies
  • in reply to: Master Detail Grid + Search Function Not Working #84908
    follower
    Participant

    after few hours line by line tracing, finally found the solution to this.

    Basically few lines of code need to change in order for it to work

    In master grid php page,

    //version 1 not working
    //$start = $limit*$page – $limit;

    //version 2 works in any cases
    if ($limit<0) $limit = 0;
    $start = $limit*$page – $limit;
    if ($start<0) $start = 0;

    in reply to: Script Error- jqGrid redirect to domain main page #84903
    follower
    Participant

    ok, solved.

    The problem happen to a table field where i store the data like

    <xml?….. …..

    Thus when data returned back, it cause the json to render it as a link and redirect to main page.

    In order to make sure no problem. We need to make sure the data returned back is clean.

    Thanks, Tony, your jqgrid is great.

    follower
    Participant

    try to add all js at once.

    follower
    Participant

    Great, after adding all js, it works. Detail Grid is now showing.

    However, the GetSelectedId still not working. I copied from http://trirand.com/jqgrid/jqgrid.html&gt; Advanced> Master Detail

    Inside this page, Get Selected id's when clicked, it will show such error:

    A Runtime Error has occured.
    Do you wish to Debug?

    Line: 81191138
    Error: Object doesn't support this property or method

    follower
    Participant

    same here.

    I'm facing the same problem when running the demo of:

    1. Subgrid

    2. Master Detail grid (By copying all the codes and run, I found that master table can show, detail grid cannot show)

    In Internet Explorer, the error is like this:

    A runtime Error has occured.
    Line 18
    Error: Object doesn't support this property or method

    When click on the row to wait for detail grid load, it shows:
    Line:68
    Error: 'this.p' is null or not an objecct

    Get Selected id's is not working, the live demo at here also having the same problem
    http://trirand.com/jqgrid/jqgrid.html#

Viewing 5 replies - 1 through 5 (of 5 total)

Stay connected with us in your favorite flavor!