admin

Forum Replies Created

Viewing 15 replies - 151 through 165 (of 635 total)
  • Author
    Replies
  • in reply to: tableToGrid with pageing #91419
    admin
    Keymaster

    Great!

    When will 3.7 be released?

    /Martin

    in reply to: Dialog for column rename #91416
    admin
    Keymaster

    Oops, wasn't clear. I was talking about the “label” property, but I thought more about a ready to use form like the columnchooser, not a method. Well, better then nothing, will do my own form around setLabel then.

    Thank you Tony!

    best regards, Jens

    in reply to: altRows not working #91389
    admin
    Keymaster

    same problem, no alt row is not marked, when i checked the generated output, though I have

    altRows = true

    in reply to: handle json data with root element #91386
    admin
    Keymaster

    Hello,

    I have a similar problem to the above however, the instead of “d”, the name coming back from my web service is “ListData”. Also, this will change depending on the type of the request. I cannot change the returned string from the web service so I need to handle this somehow on the javascript side.

    {“ListData” : {“Success”:”true”,”Record”:”1″, “rows”:[{“MyID” : “7”,”MyTitle” : “MyTitle”,”StartDate” : “09.12.2009”,”EndDate” : “31.12.2009”}]}}

    How do I specify the jsonReader so the grid can read the data contained in the rows array? I tried the following with no success:

    rows: 'ListData'
    rows: 'ListData.rows'

    If I populate the grid using addRowData, it works fine but I want to have it autopopulated using the json datatype. I know I am missing something very basic.

    Can anyone help me?

    Thanks,
    Rushi

    in reply to: Beginer Search box no result please help #91381
    admin
    Keymaster

    the first one show you where i install jqgrid and : http://www.nord-international.fr/dripe/test%20tableaux/grid.html is my custom example

    in reply to: Beginer Search box no result please help #91380
    admin
    Keymaster
    in reply to: Search Toolbar default value ignored #91378
    admin
    Keymaster

    Hello,

    I have also tried to use triggerToolber with the same result – no result ;). I think that it may be a bug.

    in reply to: setColumns() doesn’t refresh the dialog. #91348
    admin
    Keymaster

    Thanks Tony.

    Anyways i have already modified the plugin for setColumns()

    in reply to: Populating cell with dropdown select name #91347
    admin
    Keymaster

    [Solved]: had to add formatter:'select' to the field.

    in reply to: Save state #91342
    admin
    Keymaster

    Hi,

    I don't know if it will be useful for anyone else, but that's what I have done with the Cookie jquery plugin.

    http://plugins.jquery.com/project/cookie

    jQuery(”#jqGridX”).jqGrid({

    in reply to: Autowidth with jquery Tabs #91340
    admin
    Keymaster

    Hi Tony,

    Thanks for your answer. I am not a js and jquery specialist but am eager to learn.

    I looked at the code of the demo site with FireBug as you suggested and I think I figured out what you do:

    1) The main tab is created with an add event function defined (for closing tabs)

    2) A treeGrid is created for the main menu with an associated url for every leaf of the tree (eg jsonex.html)

    3) An onSelectRow event callback is created: On selection of a leaf of the treeGrid, the existence of the tab associated with the leaf is checked.

    in reply to: A few minor things in 3.4.4 #91337
    admin
    Keymaster

    ww9rivers said:

    I finally got a grid showing in my Drupal module. I would say two things: (1) jqGrid is a wonderful piece of work! (2) Firefox and Firebug have been very helpful in debugging all kinds of issues.

    Things I found missing from the 3.4.4 (maybe 3.5.a3 also):

    1. No document about the “view” option for pager;
    2. The “row_view.gif” file is missing from all themes;
    3. A few CSS classes (table.navbutton and table.tbutton come to mind) inherit some table styles from Drupal, which mess up the pager buttons. I could post a patch for this one if needed.

    Thanks!


    Hi ww9rivers

    Can you do some bullet point of what you needed to do?

    Key question – how did you implement the data feed URLs ?

    in reply to: Search panel for subgrid in IE6/IE7 #91336
    admin
    Keymaster
    Code:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”&gt;

    $(document).ready(function() {
    $(“#test”).jqGrid({
    datatype: “local”,
    colModel:[
    {name:'id', width:50, sorttype:”int”},
    {name:'text', width:500},
    ],
    height: 400,
    width: 800,
    pager:$('#testPager'),
    subGrid:true,
    subGridRowExpanded: function(subgrid_id, row_id) {
    var subgrid_table_id, pager_id;
    subgrid_table_id = subgrid_id+”_t”;
    pager_id = “p_”+subgrid_table_id;
    $(“#”+subgrid_id).html(“

    “);
    $(“#”+subgrid_table_id).jqGrid({
    datatype: “local”,
    colModel:[
    {name:'field1', width:200},
    {name:'field2', width:200},
    ],
    height: 100,
    width: 700,
    pager:$('#'+pager_id)
    });
    $(“#”+subgrid_table_id).navGrid(“#”+pager_id,
    {edit:false, add:false, del:false, search:true},
    {}, // edit options
    {}, // add options
    {}, // del options
    {multipleSearch:true} // search options
    );
    var testData2 = [
    {id:”111″, text:”Test #1″},
    {id:”222″, text:”Test #2″},
    {id:”333″, text:”Test #3″}
    ];
    for(var i=0;i<=testData2.length;i++)
    $(“#”+subgrid_table_id).jqGrid('addRowData',i+1,testData2);
    }
    });
    $(“#test”).navGrid('#testPager',
    {edit:false, add:false, del:false, search:true},
    {}, // edit options
    {}, // add options
    {}, // del options
    {multipleSearch:true} // search options
    );
    var testData = [
    {id:”1″, text:”Test line #1″},
    {id:”2″, text:”Test line #2″},
    {id:”3″, text:”Test line #3″}
    ];
    for(var i=0;i<=testData.length;i++)
    $(“#test”).jqGrid('addRowData',i+1,testData);
    });

    admin
    Keymaster

    UPDATE:

    forgot to include the locales js file.

    now am getting a separate error:

    $.jgrid.stripHtml is not a function

    in reply to: Beginer Search box no result please help #91333
    admin
    Keymaster

    Hello

    Thank you for you fast reply and sorry for my bad english. I ve developped by myself an application for my job (local authoritiy/international cooperation). Application was at the beginning created on local network with ms access, access data pages and html intranet pages with some js scripts. Now i'm trying to create “real” website with mysql, php… that's new

Viewing 15 replies - 151 through 165 (of 635 total)

Stay connected with us in your favorite flavor!