0

I have an extended bound list, and I use it as a widget. Get/set value and other works good, but: How can I add a field label before it? Example of set value:

setValue: function (v) {
    this.value = v;
    // TODO select selected
    var sm = this.getSelectionModel();
    var store = this.getStore();
    var rec = store.findRecord(this.valueField, v);
    sm.select(rec);
},

Can you help me? Or is the only solution that I have to put this bounding list in a panel?

Eleanor
  • 358
  • 5
  • 24

1 Answers1

1

The easiest way to get around this is to put it inside a FieldContainer.

Evan Trimboli
  • 29,900
  • 6
  • 45
  • 66