[CLOSED] set custom display text on MultiCombo Change event

Page 2 of 2 FirstFirst 12
  1. #11
    With the getStore() example, while your change applies, I was illustrating why I was using this.getValue() instead of this.valueCollection or this.valueModels. Not required, but I believe may save headaches while upgrading your current Ext.NET project to future releases. :)
    Fabrício Murta
    Developer & Support Expert
  2. #12
    Mmm. Please look at the js below,
    this.getValue()
    doesn't work.

    var myGetDisplayValue = function () {
                var value;            
                
                console.log(this.getValue());
                
                value = "foo";
                
                return this.wrapBySquareBrackets ? "[" + value + "]" : value;
            };
  3. #13
    Hello! On the context of the approach you chose, I see that both this.getSelection() and the related this.getSelected*() reflects the currently selected entries and may be relied upon. I'm not sure in which situation have you got the this.getSelection() to always display the full list of entries.
    Fabrício Murta
    Developer & Support Expert
  4. #14
    Thanks Fabricio, I will use either of those instead of "valueCollection" or "valueModels".
Page 2 of 2 FirstFirst 12

Similar Threads

  1. [CLOSED] HtmlEditor text change event?
    By vadym.f in forum 1.x Legacy Premium Help
    Replies: 9
    Last Post: Sep 14, 2015, 1:29 PM
  2. [CLOSED] MultiCombox to display custom Text
    By PriceRightHTML5team in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Jul 23, 2013, 4:52 AM
  3. Replies: 0
    Last Post: Feb 04, 2012, 8:05 PM
  4. [CLOSED] MultiCombo Change Event Not Saving ViewState
    By garrisrd in forum 1.x Legacy Premium Help
    Replies: 14
    Last Post: Nov 29, 2011, 8:26 PM
  5. Replies: 1
    Last Post: Dec 25, 2008, 6:32 AM

Tags for this Thread

Posting Permissions