tony

Forum Replies Created

Viewing 15 replies - 6,646 through 6,660 (of 7,981 total)
  • Author
    Replies
  • in reply to: Combobox dynamic in a subgrid #84628
    tony
    Keymaster

    Hello,

    Do you want to populate the values only once or every time you open the form?

    Regards

    Tony

    in reply to: inline editing with local array and row edit #84627
    tony
    Keymaster

    Hello,

    Before trying getRowData you should use getDataIDs – something like this

    var rids = $(“#mygrid”).getDataIDs(); // this give you all ids in grid

    for(var i=0;i<rids.length;i++) {

    var currentrow = $(“#mygrid”).getRowData(rids);

    // here your code to appent currentrow in array

    }

    Hope this helps

    Regards

    Tony

    in reply to: Column reordering #84623
    tony
    Keymaster

    Hello,

    I just have a initial work on this.

    Regards

    Tony

    in reply to: add Raw data #84622
    tony
    Keymaster

    Hello,

    Thank you for this code. I will look at it.

    Regards

    Tony

    in reply to: inline editing with local array and row edit #84621
    tony
    Keymaster

    Hello,

    1. It is very natural that the data must be saved first and then perform the sort. otherwiese what you recommend to do? Also this is a idea to add a event beforeSortCol – if this event return true we can sort otherwiese no. This will solve meybe your problem.

    4. The array structure is:

    result = [ {id:rowid1, name1:value11….},

    {id:rowid2, name1:value21….},

    ]

    where the name is the name from colModel

    Regards

    Tony

    in reply to: How to display subgrid& #84620
    tony
    Keymaster

    Hello,

    look at the demo page json subgrid. Maybe you miss here to obtain the parameter using $_GET –

    Regards

    Tony

    in reply to: how to make the field not editable #84619
    tony
    Keymaster

    Hello,

    Yes you can do that using editoptions. Here you can put all possible attributes to the element- this can be something like

    in reply to: Second row doesn’t release selection status #84618
    tony
    Keymaster

    Hello,

    I hope that there are no more such code Wink

    Regards

    Tony

    in reply to: Initial page to display in grid? #84612
    tony
    Keymaster

    Hello,

    Try

    ..jqGrid({

    page: 2,

    })

    Regards

    Tony

    in reply to: Second row doesn’t release selection status #84610
    tony
    Keymaster

    Hello,

    Thank you for this. Will be fixed. Never think that you use addRowData.

    Regards

    Tony

    in reply to: How to display subgrid& #84608
    tony
    Keymaster

    Hello,

    In order to have something in the subgrid, you should configure

    server.php to return the needed data. Read the docs how to do that.

    Regards

    Tony

    in reply to: How to display subgrid& #84606
    tony
    Keymaster

    Hello,

    Did you have respnse from the server when you click on the plus.

    Also what data return the script in subgrid.php

    Check your query for the subgrid.

    Also look at the examples how to configure.

    Regards

    Tony

    in reply to: sort by multiple columns #84605
    tony
    Keymaster

    Hello,

    You can do that.

    1. You can define in the index multiple names something like

    index: ” name1 name2″ – this string will be send to the server and you

    can get it and sort appropriate way.

    2. Use onSortCol to do that – also you can check example how

    we can sort on hidden fields – the things are the same.

    Regards

    Tony

    in reply to: navButtonAdd and multiselect in subgrid #84604
    tony
    Keymaster

    Hello,

    Sorry but I do not understand what you try to do.

    Regards

    Tony

    in reply to: pass data to the server #84603
    tony
    Keymaster

    Hello estevan,

    Here we discuss jqGrid problems and not how to post data server side.

    Also good start will be in this case php.net

    Regards

    Tony

Viewing 15 replies - 6,646 through 6,660 (of 7,981 total)

Stay connected with us in your favorite flavor!