1. #1
    Sencha User
    Join Date
    Oct 2011
    Posts
    3
    Vote Rating
    0
    tjordan is on a distinguished road

      0  

    Default Answered: SimpleComboBox rendered in CellEditor setEmptyText doesn't work

    Answered: SimpleComboBox rendered in CellEditor setEmptyText doesn't work


    Hello,

    I am using your "Editable Grib" example in a part of my application. I got it mostly working for what I need, but I'm having an issue where the SimpleComboBox(es) in the Grid don't have a default value, and setEmptyText does not work no matter how I set it.

    Is it supposed to not work like that? How can I set a default value like setEmptyText in SimpleComboBoxes that are rendered in the CellEditor/EditorGrid?

    I am using GXT 2.2.4..

    Thanks Tim

  2. Empty texts will not be displayed when using fields in grids.
    For displaying a text for your field empty value within grids, you need to use a grid renderer.
    Check for your empty/null value, and then in the renderer, return what your empty text.

  3. #2
    Sencha User
    Join Date
    Nov 2008
    Location
    Vienna - Austria
    Posts
    867
    Answers
    9
    Vote Rating
    1
    micgala is on a distinguished road

      0  

    Default


    Empty texts will not be displayed when using fields in grids.
    For displaying a text for your field empty value within grids, you need to use a grid renderer.
    Check for your empty/null value, and then in the renderer, return what your empty text.

  4. #3
    Sencha User
    Join Date
    Oct 2011
    Posts
    3
    Vote Rating
    0
    tjordan is on a distinguished road

      0  

    Default awesome

    awesome


    awesome thank you! ill give it a try and report back soon!

  5. #4
    Sencha User
    Join Date
    Oct 2011
    Posts
    3
    Vote Rating
    0
    tjordan is on a distinguished road

      0  

    Default ANSWERED

    ANSWERED


    Please set this question to answered. I was able to do what was needed with GridCellRenderer.

    Thanks again!

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi