Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 866775
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T09:51:54+00:00 2026-05-15T09:51:54+00:00

When my users edits the Grid via RowEditor combo entries and checkboxes are annoying

  • 0

When my users edits the Grid via RowEditor combo entries and checkboxes are annoying

1 Apple
2 Orange
3 Pear

For instance with the combo above the user will select Orange then update – the Grid now instead of saying orange will display the number 2 – I would like it to show orange when a successful edit has been made.

code for my combo

     editor : {
       allowBlank     : false,
       displayField   : 'team',
       editable       : false,
       emptyText      : 'Select Team',
       forceSelection : true,
       lazyRender     : true,
       mode           : 'remote',
       name           : 'team',
       store          : storeTeam,
       triggerAction  : 'all',
       valueField     : 'id',
       xtype          : 'combo'
     }

I think I read that you could send the complete row back to insert or I should listen to the update of the grid and then change the field but I need some guidance on what is best

Cheers

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T09:51:55+00:00Added an answer on May 15, 2026 at 9:51 am

    Try the code below. Use this column just like you would any other ExtJS grid column.

    Ext.grid.FixedListColumn = Ext.extend(Ext.grid.Column, {
      constructor: function(cfg){
        cfg.editor = new Ext.form.ComboBox(cfg.editor);
        Ext.grid.ComboBoxColumn.superclass.constructor.call(this, cfg);
        this.renderer = Ext.util.Format.comboRenderer(cfg.editor);
      }
    });
    
    Ext.grid.Column.types.fixedlistcolumn = Ext.grid.FixedListColumn;
    
    // Takes in a combobox and returns a renderer that looks up the displayField in
    // the store attached to the combo
    Ext.util.Format.comboRenderer = function(combo){
        return function(value){
            var record = combo.findRecord(combo.valueField, value);
            return record ? record.get(combo.displayField) : combo.valueNotFoundText;
        }
    }
    
    // Use this as the 'columns' parameter when creating your Grid
    var grid_columns = [
      {xtype:'fixedlistcolumn',
       store: [[1,'Apple'],[2,'Orange']]},
       ...
    ];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a many-to-one relationship that users can edit via checkboxes. PK of Foo
With a pretty standard Dynamic Data site, when the user edits or inserts a
Does anyone know how to allow users to edit another user´s email in a
I have two pages, one that edits user information, and one that edits information
Hi I have a grid view which is dynamically generated via C# using a
I'm having troubles in getting a grid to work: I want to let users
I have a grid view populating by users, i want to add to it
I am showing the list of users with images as a grid in my
I have a WPF User Control with a UIElement Grid with several text boxes
I have a user control whose users I want to have them set a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.