Search:

Type: Posts; User: Bogdan0x400

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. triggerAction: 'all'This is the solution.

    triggerAction: 'all'This is the solution.
  2. autoload items to combobox from jsonstore

    I have a combobox with defined jsonstore. The jsonstore loads fine - I've checked it in "load" event of jsonstore. The problem is that combobox doesn't update the items itself, and I also can't find...
  3. Replies
    2
    Views
    1,336

    ComboBox.valueField = "id";...

    ComboBox.valueField = "id";
    ComboBox.displayField = "text";
    ComboBox.store = new Ext.data.ArrayStore({autoDestroy: true, fields: ["id", "text"]});
    then it works
  4. Replies
    2
    Views
    1,336

    I can see that if I lazily init the combo: ...

    I can see that if I lazily init the combo:

    {"xtype":"combo","width":250,"fieldLabel":"my...
  5. Replies
    2
    Views
    1,336

    load single-item array to a combobox

    I have a structure with data for combobox like this:

    var a = [[1,"text1"],[2,"text2"]]
    I load it like this:

    ComboBox.store.loadData(var a);
    But when I have only 1 item in the array

    var a =...
  6. Replies
    2
    Views
    822

    Never mind, I've added a space control as the...

    Never mind, I've added a space control as the eighth control and it solved my problem.
  7. Replies
    2
    Views
    822

    problem with tableform layout

    I have a form with a tableform layout, and it's layoutConfig { columns:2 } . I have 7 controls on a form and an editorgrid in the bottom. Editorgrid has colspan : 2. When there are 8 controls at the...
  8. pass custom text from combobox in postback

    I have a combobox with ForceSelection=false (the user can input text that doesn't match any existing items). How do I pass this text to the server in a postback? I can see that the value gets passed,...
  9. Replies
    2
    Views
    1,984

    The solution: set ForceSelection to false.

    The solution: set ForceSelection to false.
  10. Replies
    2
    Views
    1,984

    prevent combobox from deleting the value

    The combobox has some items defined. So when I try to type in the combobox my custom value that is not present in the items list, the combobox text gets reset to the previously selected value. How...
  11. Replies
    1
    Views
    1,508

    left margin of a checkbox

    How to specify a left margin for a checkbox?

    {
    xtype: 'checkbox',
    name: 'mycheckbox',
    boxLabel: 'my checkbox',
    hidden: true
    }
  12. Replies
    1
    Views
    551

    Actually, this approach worked fine, but if there...

    Actually, this approach worked fine, but if there are any other suggestions, then write them here ;) .
  13. Replies
    1
    Views
    551

    get previous row

    How to get the row which was selected before the rowclick event? Should I just store the previously selected row in a "private" variable?
  14. Replies
    2
    Views
    1,232

    input value disappears

    I have a textfield and a grid. The textfield displays different value depending on the selected row. But if I edit the textfield, and then click another row (In other words, the textfield doesn't...
  15. Replies
    1
    Views
    1,100

    Never mind, I just directly add a new record to...

    Never mind, I just directly add a new record to grid's store using the add method and it works just as I want it.
  16. Replies
    1
    Views
    1,100

    add a phantom new row to the editorgrid

    I want my form with an editorgrid to be loaded with one new row. I pass it from the server and load it in the JsonStore using the data property, but it is loaded as a non-phantom and not dirty row....
  17. I was inserting the records incorrectly. I was...

    I was inserting the records incorrectly. I was inserting them like .add({ContactName:"aaa"},{ContactID:1}), and should have done it like .add({ContactName:"aaa"}, 1) . Now everything works fine.
  18. Maybe the idProperty shouldn't be defined...

    Maybe the idProperty shouldn't be defined directly in the JsonStore config? I don't see it in the list of available configuration options in the help reference.
    Or maybe the records should be marked...
  19. Actually, I am inserting a record to the store...

    Actually, I am inserting a record to the store with the ID that I am searching for:
    var r = new Ext.data.Record({SomeText:"some random text"},{iD:CurrentID});
    AdditionalGridData.add(r);
    This...
  20. I've also tried: var records =...

    I've also tried:

    var records = AdditionalGridData.query("iD", CurrentID+"", false, true);
    but that also didn't help!
  21. Read somewhere on the forums that: you need to...

    Read somewhere on the forums that:
    you need to pass record id (f.e. "ext-record-1") to Store.getById instead of your data ID (f.e. "1");
    Is this correct? Where do I get that record id?
  22. getById doesn't return existing record with matching key

    I have a store which is defined something like this:

    var AdditionalGridData = new Ext.data.JsonStore(
    { root: "result",
    data: { result: Ext.decode(this.Data.AdditionalGridData)...
  23. Replies
    7
    Views
    1,166

    I have editing controls on my form for some rows...

    I have editing controls on my form for some rows of the editorgrid. The rows that are not edited will have empty values in their record data. But on the other hand, that doesn't take up much space.
  24. Replies
    7
    Views
    1,166

    Yes, I understand this, but the jsonstore is...

    Yes, I understand this, but the jsonstore is defined in the editorgrid class, which I don't want to inherit. Besides, there will be blank extra fields for records which are not edited by additional...
  25. Replies
    7
    Views
    1,166

    Because the grid is a class itself which I can...

    Because the grid is a class itself which I can not change because it will affect other code which already uses this grid. I can inherit from that grid, but to my opinion it is probably easier to...
Results 1 to 25 of 55
Page 1 of 3 1 2 3