sand123

Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Author
    Replies
  • in reply to: Inline Edit: Custom Input #90746
    sand123
    Participant

    It's not the same – but in my case:

    function myValue(el)
    {

    in reply to: Add data to AJAX request #89914
    sand123
    Participant

    thanx – really help))

    in reply to: shows ‘undefined’ in grid when edittype=select #89910
    sand123
    Participant


    version=3.5.3; if (before edit) open Add form and close (whatever save or not new record) – than also all forms next time filled correctly

    in reply to: shows ‘undefined’ in grid when edittype=select #89909
    sand123
    Participant

    And one more important thing (be patient, plz): edyttype=select works fine, BUT

    • reload page
    • select any row in grid and click [Edit] – edit form popup
    • fields with edittype=select filled with values but they don't match values in this record – they always select 1st item in listbox
    • close form and open again – on the same record – values selected correctly.

    this situation reproduced all the time. in editOptions recreateForm = false

    in reply to: shows ‘undefined’ in grid when edittype=select #89908
    sand123
    Participant

    Thanks for answer – now it works! But I was confused – if there was error in colModel definition – why it works with 3.5.2 – while *ALL* other project files (html,js,php,mySQL db) are the same? And the second one: it's not comfortable (IMHO) to use param 'value' explicitly defined in colModel if I use external URL for dropdown values. May it be optionally allowed preloading these values when init grid: i.e, ajaxSetup: async->false, load data according to editUr(if 'value' parameter is not defined) and fill 'value' parameter, ajaxSetup: async->true, continue init grid

    in reply to: shows ‘undefined’ in grid when edittype=select #89847
    sand123
    Participant

    colModel section (dataType in jqGrid.options set to JSON)

    {

    name:'id_tag',

    index:'id_tag',

    edittype:'select',

    editoptions:{

    dataUrl:'./lib/php/do.list.php?table=bak_tags'

    },
    formatter:'select'

    }

    raw GET response when open form for adding or editing

    Acronis

    APbackup

    load data response. In grid, in column for 'id_tag' must be 'Acronis', but there 'undefined'. All other columns showed correctly

    {
    “page”:”1″,
    “total”:1,
    “records”:”1″,
    “rows”:[

    {

    “id”:”1″,

    “cell”:[“1″,”Acronis”,”MyServerName”]

    }

    ]
    }

Viewing 6 replies - 1 through 6 (of 6 total)

Stay connected with us in your favorite flavor!