admin

Forum Replies Created

Viewing 15 replies - 511 through 525 (of 635 total)
  • Author
    Replies
  • in reply to: Add slave data #88567
    admin
    Keymaster

    Thank you for your answer. After long hours, I've find that I can modified the 'editurl' so I put the master row id in…

    It's working.

    See you !!!! 🙂

    admin
    Keymaster

    Hi Tony

    Thank you for the quick reply, here's my html & js

    in reply to: Setting Caption for Edit Grid #88529
    admin
    Keymaster

    Hi,

    Thanks for the help.

    in reply to: Setting Caption for Edit Grid #88527
    admin
    Keymaster

    I'm trying to set it in the before show form of the edit action.

    When the user selects a row of the grid to edt, I want to set either the caption or the top info to the value of a col in the selected row.

    in reply to: Setting Caption for Edit Grid #88524
    admin
    Keymaster

    Thanks but that didn't work either.

    in reply to: Grid caption layer and pager problem #88502
    admin
    Keymaster

    Problem with caption was solved. We had background image on the page and allign property of image was problem.

    in reply to: Header and body are not aligned #88500
    admin
    Keymaster

    I found the problem. My XML was missing one column. Odd that it didn’t report some type of error.

    in reply to: Multisearch return datas as undefined when twice or more #88495
    admin
    Keymaster

    Hi Mike,

    Thanks for your help, I actually tried this already and all my values were blank (not undefined), must have been doing something wrong.

    in reply to: Header and body are not aligned #88491
    admin
    Keymaster

    I have the same problem. I'm using jqGrid 3.5.2 and jquery-ui 1.7.2. I'm a newbie so maybe it is obvious but I've looked around and can't figure it out.

    Here is my code,

    in reply to: Linking one grid to another via selecting a row #88488
    admin
    Keymaster

    Hello,

    You can find your answer here :

    http://trirand.com/jqgrid/jqgrid.html

    In “Advanced->Master Detail”

    See you

    in reply to: Multisearch return datas as undefined when twice or more #88485
    admin
    Keymaster

    Hi peter,

    here is the solution we used.

    in reply to: getCol method always returns empty array #88483
    admin
    Keymaster

    Please ignore. Once I put in loadComplete, everything worked magically.

    in reply to: Add and Edit form editing issue #88481
    admin
    Keymaster

    Thx m8, that was very helpful.

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

    Dear Tony,

    What is your suggestion to fix this?

    Best regards,

    Rayson

    in reply to: Multisearch return datas as undefined when twice or more #88474
    admin
    Keymaster

    I'm getting this same problem as well (any search field after the first one has a value of undefined), I'm using 3.5.2 from the downloads page, and to be safe I just selected all the modules. Everything works great except for the search. Code is below:

    <!

    DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt;

    <

    html xmlns=”http://www.w3.org/1999/xhtml”&gt;

    <

    head>

    <meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />

    <

    <link rel=”stylesheet” type=”text/css” media=”screen” href=”/Content/Style/ui.jqgrid.css” />

    <script src=”/Scripts/jquery-1.3.2.min.js” type=”text/javascript”></script>

    <script src=”/Scripts/jquery-ui-1.7.2.custom.min.js” type=”text/javascript”></script>

    <script src=”/Scripts/grid.locale-en.js” type=”text/javascript”></script>

    <script src=”/Scripts/jquery.jqGrid.min.js” type=”text/javascript”></script>

    link rel=”stylesheet” type=”text/css” media=”screen” href=”/Content/Style/jquery-ui-1.7.2.custom.css” />

    <link rel=”stylesheet” type=”text/css” media=”screen” href=”/Content/Style/ui.jqgrid.css” />

    <script src=”/Scripts/jquery-1.3.2.min.js” type=”text/javascript”></script>

    <script src=”/Scripts/jquery-ui-1.7.2.custom.min.js” type=”text/javascript”></script>

    <script src=”/Scripts/grid.locale-en.js” type=”text/javascript”></script>

    <script src=”/Scripts/jquery.jqGrid.min.js” type=”text/javascript”></script>

    link rel=”stylesheet” type=”text/css” media=”screen” href=”/Content/Style/jquery-ui-1.7.2.custom.css” />

    link rel=”stylesheet” type=”text/css” media=”screen” href=”/Content/Style/jquery-ui-1.7.2.custom.css” />

    <link rel=”stylesheet” type=”text/css” media=”screen” href=”/Content/Style/ui.jqgrid.css” />

    <script src=”/Scripts/jquery-1.3.2.min.js” type=”text/javascript”></script>

    <script src=”/Scripts/jquery-ui-1.7.2.custom.min.js” type=”text/javascript”></script>

    <script src=”/Scripts/grid.locale-en.js” type=”text/javascript”></script>

    <script src=”/Scripts/jquery.jqGrid.min.js” type=”text/javascript”></script>

    <script type=”text/javascript”>

    $(

    function() {

    $(

    “#tabs”).tabs();

    });

    $(document).ready(

    function(){

    $(

    “#gridInventory”).jqGrid({

    url:

    'SearchAsJson',

    datatype:

    “json”,

    colNames:[

    'Id', 'Trans #', 'Part #', 'Address', 'Make', 'Serial #', 'Status'],

    colModel:[

    {name:'Id',index:'Id', width:55, hidden: true, search: false },

    {name:'Id',index:'Id', width:90, searchoptions:{sopt:['eq']}},

    {name:'PartNumber',index:'PartNumber', width:90, searchoptions:{sopt:['eq']}},

    {name:'LocationAddress',index:'LocationAddress', width:300, searchoptions:{sopt:['eq']}},

    {name:'Make',index:'Make', width:90, searchoptions:{sopt:['eq']}},

    {name:'Serial',index:'Serial', width:100, searchoptions:{sopt:['eq']}},

    {name:'Status',index:'Status', width:100, searchoptions:{sopt:['eq']}}

    ],

    recreateFilter : false,

    rowNum:25,

    rowList:[25,50,100,500],

    mtype: “GET”,

    postdata:

    “”,

    pager: $(

    '#gridPager'),

    sortname: 'Id',

    viewrecords:

    true,

    sortorder: “desc”,

    caption:“Transformer Search Results”,

    toolbar: [true,“top”],

    hidegrid: false,

    height:'auto',

    forceFit : true,

    gridview: true});

    $(“#gridInventory”).navGrid('#gridPager',{edit:false,add:false,del:false},

    {}, // edit options

    {}, // add options

    {}, // delete options

    {multipleSearch:true});

    $(“#t_gridInventory”).append(“”);

    $(“input”,“#t_gridInventory”).click(function(){alert(“test”);

    });

    });

    </script>

    <h1>Transformer Search</h1>

    <div id=”tabs”>

    <ul>

    <li><a href=”#tabs-1″>Search</a></li>

    <li><a href=”#tabs-2″>Options</a></li>

    </ul>

    <div id=”tabs-1″>

    <table id=”gridInventory”></table>

    <div id=”gridPager”></div>

    </div>

    <div id=”tabs-2″>

    <p>Options to go here</p>

    </div>

    </

    div>

    <

    br style=”clear:both;” /><br />

Viewing 15 replies - 511 through 525 (of 635 total)

Stay connected with us in your favorite flavor!