1. #1
    Sencha User
    Join Date
    Nov 2012
    Posts
    1
    Vote Rating
    0
    scottgw is on a distinguished road

      0  

    Default Over Ride select field

    Over Ride select field


    I'm a Sencha noob. I am trying to implement this over ride class so that I can either have blank or placeholder text in my selectField. I've added a JS Resource would this be the best way to do it? I can't seem to get it to work. Either I get a blank white screen or it doesn't work at all. Do I need to implement a store for this to work? My biggest question is with everything correct in my program will creating a js file with my override and including it as a JS Resource work correctly?

    Thanks.

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    8,890
    Vote Rating
    102
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    If you've created the select as a top level class you can just click "Create Override" and it will handle loading it for you etc.

    If you didn't initially create it as a top level class, you can right click on it and select "Promote to Class" to make it a top level class.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Ext JS Premium Member tangix's Avatar
    Join Date
    Mar 2010
    Location
    Stockholm, Sweden
    Posts
    503
    Vote Rating
    47
    tangix has a spectacular aura about tangix has a spectacular aura about tangix has a spectacular aura about

      0  

    Default


    Just a friendly advise:
    if you get blank screens, a JavaScript debugger is your friend. Install FireBug if you are a Firefox user, use Chrome's Developer Tools or IE's "F12 Developer Tools". In the Console or Network tab (catching misspelling of classes and overrides) you'll find the reason why your Sencha app doesn't run.

Thread Participants: 2

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar