tony

Forum Replies Created

Viewing 15 replies - 7,531 through 7,545 (of 7,981 total)
  • Author
    Replies
  • in reply to: Default options, multiselect, extend #82821
    tony
    Keymaster

    Creativebyte,

    Thank you very much for this. To be a honest I do not known

    of this feature of $.extend. I will add this, but before this I should

    do some tests.

    Thank you

    Best Regards

    Tony

    in reply to: Warning! Please Selet Row — jqGrid 3.2 #82817
    tony
    Keymaster

    You forgot to include the jqModal.css. Please before posting any issue

    read the documentation.

    Best

    Regards

    Tony

    in reply to: A grid blur event? #82816
    tony
    Keymaster

    Not sure that blur event is good. First that I think is:

    Enclose the grid (by example) in div tag, then assign click event

    to body element except this div and whitin this event use

    restoreRow method.

    Regards

    Tony

    in reply to: Navigation Bar without Navigation #82815
    tony
    Keymaster

    Done Smile

    in reply to: how do I add a row between other rows #82814
    tony
    Keymaster

    Will consider this in next release (not in the upcomming bug fix)

    Regards

    Tony

    in reply to: getDataIDs() on grid with subgrid #82813
    tony
    Keymaster

    Hi,

    I know about all the problems related to grid as subgrid.

    Wait for the bug fix release (1-2)day. It correctsthe issues

    in all methods when using grid as subgrid.

    Regards

    Tony

    in reply to: Force GET on Update / saveRow #82808
    tony
    Keymaster

    In formedit module I have changed this, but a little problem in

    inlineedit module. Will see what can be done

    Regards

    Tony

    in reply to: setRowData behavior #82807
    tony
    Keymaster

    Maybe I will explain this in detail.

    1. When the grid is constructed we have something like:

    myval

    ..

    After editRow we have

    So when we call after this setRowData the entry input tag is replaced with the value from setRowData.

    Now – one possible solution is those from Reg

    $(“#”+id+”_myname”,”#mygrid”).val(“newvaluehere”)

    Another solution is to write additional method which will act to this case

    Regards

    Tony

    in reply to: Using jqGrid in regular forms #82806
    tony
    Keymaster

    Peter,

    Thank you. Any additions and improvments are welcome. Will be glad to see this and incorporate to jqGrid (where aplicable).

    in reply to: Performance improvement in addRowData #82805
    tony
    Keymaster

    Thank you Peter. Added (with some changes in in upcomming bugfix release)

    Regards

    Tony

    tony
    Keymaster

    We have here a lot of possible solutions.

    1. Setting the values direct via script – here is PHP example:

    When you call the page with a grid – call it as php page and not as html

    colModel [{….

    {name:”mayname”…editable:true,edittype:”select”,

    editoptions:{''}…},

    ]

    where the variable $myeditoptions holds the values from the db

    This is the recommendet solution. If this is not possible

    2. We can use the method from previous post. We can cal this after the grid is constructed.It is not too late – why?

    $.get(”myurl”,data:mydata,function(result,status){

    if (status == “success”) {

    // get the result here, suppose that in myselect are the values

    $(”#mygrid”).setColProp(”myname”,{editoptions:{myselects}});

    }

    }

    3. Another possible solution is to use the userData in jqGrid –

    (this is another elegant solution). See userData examples haw to do that.

    Then

    loadComplete : function() {

    // get the userData here and convert it to format supported

    // in colModel then the same tehchniquie as from 2

    $(”#mygrid”).setColProp(”myname”,{editoptions:{myselects}});

    }

    ~Enjoy

    Tony

    in reply to: addRowData to subgrid #82798
    tony
    Keymaster

    Here is the fix

    in reply to: addRowData to subgrid #82796
    tony
    Keymaster

    Humm,

    Will check it again. Thank you

    Regards

    Tony

    in reply to: addRowData to subgrid #82794
    tony
    Keymaster

    There are a lot things to do – the bug fix release will be done 21-22 July.

    If you can't wait – open grid.base find addRowData method

    then find

    if (pos === “last”) $(“tbody”,t.grid.bDiv).append(row);
    else $(“tbody tr:eq(0)”,t.grid.bDiv).after(row);

    replace with

    if (pos === “last”) $(“tbody:first”,t.grid.bDiv).append(row);
    else $(“tbody:first tr:eq(0)”,t.grid.bDiv).after(row);

    Let me known if all is OK

    Regards

    Tony

    in reply to: addRowData to subgrid #82792
    tony
    Keymaster

    Thank's. Fixed

    Regards

    Tony

Viewing 15 replies - 7,531 through 7,545 (of 7,981 total)

Stay connected with us in your favorite flavor!