Problem ComboBox Display/Value Field

  1. #1

    Problem ComboBox Display/Value Field

  2. #2
    Solved at the thread:
    http://forums.ext.net/showthread.php...h&goto=newpost

    Solution:
    <script type="text/javascript">
        Ext.override(Ext.form.ComboBox, {
            origFindRecord: function (prop, value) {
                var record;
                if (value === '')
                    return record;
                if (this.store.getCount() > 0) {
                    this.store.each(function (r) {
                        if (r.data[prop] == value) {
                            record = r;
                            return false;
                        }
                    });
                }
                return record;
            }
        });
    </script>

Similar Threads

  1. Replies: 4
    Last Post: Dec 14, 2012, 10:49 AM
  2. [CLOSED] Combobox unique display field issue
    By majestic in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Mar 03, 2012, 3:32 PM
  3. Replies: 6
    Last Post: Feb 22, 2010, 1:18 AM
  4. [CLOSED] Trigger Field Display
    By HOWARDJ in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Aug 26, 2009, 6:24 PM
  5. Combobox field problem in GridPanel
    By dbassett74 in forum 1.x Help
    Replies: 0
    Last Post: Apr 19, 2009, 3:45 PM

Tags for this Thread

Posting Permissions