Search:

Type: Posts; User: ChrisOhB

Search: Search took 0.02 seconds.

  1. Using slideIn animation instead of simple show

    I have a component. By default, it's hidden. At some point, the component has its `show()` function called to make the component visible.

    Instead of just instantaneously appearing upon, I want it...
  2. I ended up extending the ComboBox control and...

    I ended up extending the ComboBox control and overriding getDisplayValue:

    getDisplayValue: function () {
    if (this.multiSelect) {
    Ext.Error.raise('Support for `multiSelect` not...
  3. Also, note that if you search in the...

    Also, note that if you search in the documentation using the top-right search field for "displayTpl", no results show up.

    Also, no component in the Ext JS library lists "displayTpl" in its...
  4. ComboBox with dates--formatting date display in field

    Is there an easier way or best practice for how to format the value that appears in the text of a combo when the displayField of the combo refers to a date type?

    What I'm doing now seems kinda...
  5. Ah, that's the key, Scott! Thanks--it beats my...

    Ah, that's the key, Scott! Thanks--it beats my workaround:

    assertValue: function () {
    var rawValue = this.getRawValue(),
    blankBefore = !Ext.String.trim(rawValue).length,
    ...
  6. Thanks for the reply. Unfortunately, I still...

    Thanks for the reply. Unfortunately, I still cannot leave the field blank after selecting a value. For example:

    http://jsfiddle.net/bmsLn/

    Go to that link and try to delete the value without...
  7. ComboBox: Making it optional (empty), and forcing only selection list

    Let's say I have a combobox. I can't seem to figure out the right combination of config settings.
    Ext.widget({ xtype: 'combo',
    renderTo: Ext.getBody(),
    fieldLabel: 'Neighborhood',
    ...
  8. Replies
    1
    Views
    1,398

    Guidelines for extending components?

    Let's say I'm extending the ComboBox control to define some defaults that I want all the combos to use in our product. There's a number of different ways this could be accomplished, shown below.
    ...
  9. Replies
    2
    Views
    771

    Best practices for component configs

    Let's say I've got a store defined...

    Ext.define('DocumentStore', {
    model: 'Document',
    ...
    proxy: {
    type: 'ajax',
    url: '/Document/List',
    ...
Results 1 to 9 of 9