1. #1
    Ext User
    Join Date
    Apr 2010
    Posts
    26
    Vote Rating
    1
    souihli is on a distinguished road

      0  

    Default ComboBox : How to get the typed value by user?

    ComboBox : How to get the typed value by user?


    Hello,
    My problem looks simple but i didn't find any post which about it
    So this is the question :
    I have to remote only the data which starts with the string typed by the user on the comboBox. The problem i d'ont know how to get this String?!
    I tried to use the the property "query" on the loaderConfig. This property returns the good value only if this value changed and not the current value. This is a sample :
    1st load : typed value : "Hello" => query = "Hello"
    2nd load : typed value : "Hello" (doesn't change) => query = ""
    So the problem i cant distinguish the case "no value typed" and the case "second load with the same typed value"?!
    Can someone help?
    Thanks in advance,

  2. #2
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,353
    Vote Rating
    77
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    can you post the code that you're using to construct your combo. Be sure to enclose the code within CODE tags

  3. #3
    Ext User
    Join Date
    Apr 2010
    Posts
    26
    Vote Rating
    1
    souihli is on a distinguished road

      0  

    Default


    No need for the code. I was mistaken, the query Property is changed every time the user adds/removes a caractar, wich is perfect for my application need!
    Thanks for your answer, the problem is solved !

Thread Participants: 1