Results 1 to 2 of 2

Thread: Grid Updater using Combo box issue

  1. #1

    Default Grid Updater using Combo box issue

    I have a grid using the row updater (see code below), my issue is I need to fire the user id back in the ajax post details but update the grid with the username, the code below updates the grid with the user id as you would expect. I have no idea how I should go about achieving this could anyone point me in the right direction please?

    Many thanks

    var outstanding_task_grid = new Ext.grid.GridPanel({
        id: 'outstandingGrid',
        store: ds_outstanding_tasks,
        plugins: [editor],
        height: 348,
        viewConfig: {
            forceFit: true,
            scrollOffset: 0,
        columns: [
                id: 'id',
                header: 'ID',
                dataIndex: 'taskid',
                width: 50,
                sortable: true
                header: 'Task',
                dataIndex: 'label',
                width: 250,
                sortable: true,
                editor: {
                    xtype: 'textfield',
                    allowBlank: false
                header: 'Owner',
                dataIndex: 'taskowner',
                editor: {
                    xtype: 'combo',
                    store: ds_users,
                    valueField: 'userid',
                    typeAhead: true,
                    forceSelection: true

  2. #2
    Sencha User MiamiCoder's Avatar
    Join Date
    Mar 2009
    Miami, FL


    Take a look at the ComboBox in Grid section of the combo box docs:

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts