tony

Forum Replies Created

Viewing 15 replies - 7,321 through 7,335 (of 7,981 total)
  • Author
    Replies
  • in reply to: Remembering Grid State #83225
    tony
    Keymaster

    Hello Reg,

    This really very interesting recommendation. Since we use toggle

    function for this, there will be a possible to define events when

    the grid opened or closed.

    Thank you

    Regards

    Tony

    in reply to: Custm forms and GridToForm problem #83224
    tony
    Keymaster

    You code will never be lunched, since of this

    var gsr = jQuery(”#list”).getGridParam('rowid');

    First we do not have parameter rowid in options array.

    Remove

    in reply to: Delete Dialog question #83223
    tony
    Keymaster

    Hello,

    You are right. We will try to explain these functions in the documentation.

    Thank you

    Best Regards

    Tony

    in reply to: loadBeforeSend #83222
    tony
    Keymaster

    Hello,

    You can not do this in this event. jqGrid uses a standart ajax beforeSend

    event. As of jQuery docs with this event you can only modifi the header of the request, but not the data. Here is the help.

    beforeSend

    “A pre-callback to modify the XMLHttpRequest object before it is sent. Use this to set custom headers etc. The XMLHttpRequest is passed as the only argument. This is an Ajax Event. You may return true in function to cancel the request.”

    Best Regards

    Tony

    in reply to: Delete Dialog question #83218
    tony
    Keymaster

    Open grid.formedit.js and see the two functions that you can use

    to meet your needs – createModal and viewModal

    tony
    Keymaster

    Currently afterInsertRow

    in reply to: A new Tree Grid component #83216
    tony
    Keymaster

    Hi,

    1.Could you please explain what you have to do so that no scrollbar?

    2. Yes this is true. Edit in place should known about treegrid – thank you.

    Regards

    Tony

    in reply to: scroll, subgrid & modal windows position #83215
    tony
    Keymaster

    Thanks,

    The reason for this is that the position in the modal windows(in CSS)

    in reply to: A new Tree Grid component #83213
    tony
    Keymaster

    Hello,

    1. Search the forum how to insert html content in the cell.

    2. From my initial post :

    …..

    I use in this case a postData array like this

    postData:{nodeid:rc.id,n_left:rc.lft,n_right:rc.rgt,n_level:rc.level}

    In other words you can grab these values and do something
    like this to load the child nodes

    SELECT category_name, level, lft, rgt FROM categories
    WHERE lft > n_left AND rgt < n_right AND level = n_level +1
    ORDER BY lft;

    Once when all the nodes are loaded we do not make any other request to

    in reply to: Remembering Grid State #83212
    tony
    Keymaster

    Hello Reg,

    in reply to: multiple search #83211
    tony
    Keymaster

    Another possible solution is to use postData array, but for this reason we shoild define some events in searchGrid method. I will try to include some in the next release.

    Regards

    Tony

    in reply to: Subgrid Collapse All. #83210
    tony
    Keymaster

    Currently no, but you can experiment with

    in reply to: How to fix these errors #83209
    tony
    Keymaster

    Could you please test the modified old way. Open jquery.jqGrid.js and replace the following function

    function IncludeJavaScript(jsFile)

    in reply to: adding class in editoptions #83208
    tony
    Keymaster

    As far as I known the size of input element can't be set in pixels with attribute

    in reply to: “Back” arrows enabled when 0 pages #83207
    tony
    Keymaster

    Thanks,

    Will check this.

    Regards

    Tony

Viewing 15 replies - 7,321 through 7,335 (of 7,981 total)

Stay connected with us in your favorite flavor!