Search:

Type: Posts; User: jarlau

Page 1 of 7 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    6
    Views
    2,944

    load the store on grid render event.

    load the store on grid render event.
  2. Replies
    18
    Views
    6,363

    columnWidth option is needed in order to show...

    columnWidth option is needed in order to show items in the same row.
    for further info read ColumnLayout api.
  3. Replies
    3
    Views
    1,049

    Have a brief test and it could be done by first...

    Have a brief test and it could be done by first store the last selected index 'beforeload' and get back the index after 'load' with a little delay.



    grid.store.on('beforeload',function(ds){...
  4. Replies
    1
    Views
    813

    use beforeexpandnode...

    use beforeexpandnode & expandnode listeners of TreePanel.
  5. Replies
    3
    Views
    1,049

    try use load event of store. ...

    try use load event of store.



    store.on('load', function(ds) {
    // focus row here.
    });
  6. Replies
    18
    Views
    6,363

    cause the field not allow blank and...

    cause the field not allow blank and x-form-invalid makes the background-color of compositefield to white. in this case you may want to use back aacoro's solution.



    {
    xtype: 'container',
    ...
  7. I don't have 3.2.1 but I've tried on 3.2.0 and...

    I don't have 3.2.1 but I've tried on 3.2.0 and 3.2.2 grid examples without problem.

    replace the array-grid.js in examples/grid


    /*!
    * Ext JS Library 3.2.2
    * Copyright(c) 2006-2010 Ext JS,...
  8. Replies
    4
    Views
    1,129

    it can be tedious if we need to do it every time,...

    it can be tedious if we need to do it every time, but we can write a small plugin to do that.
  9. I tried that code, and it works for me.

    I tried that code, and it works for me.
  10. Replies
    4
    Views
    1,129

    What is ColumnSelectionModel? Do you meant...

    What is ColumnSelectionModel? Do you meant CheckboxSelectionModel?

    read API selectRecords and selectRows for more information.
  11. Replies
    18
    Views
    6,363

    As my previous post mentioned, move the...

    As my previous post mentioned, move the fieldLabel to upper level.



    xtype: 'compositefield',
    fieldLabel: 'Destinatário(s)',
    items: [{
    //fieldLabeld: 'Destinatário(s)',
    ...
  12. Replies
    18
    Views
    6,363

    From API:

    From API:
  13. try: var cell =...

    try:



    var cell = grid.getView().getCell(7,9);
    Ext.fly(cell).highlight("CCFF33", {attr: "background-color",duration: 5});
  14. Replies
    18
    Views
    6,363

    or use compositefield...

    or use compositefield?
  15. use firebug and set a breakpoint on the line: ...

    use firebug and set a breakpoint on the line:


    Ext.getCmp('forooshande_id').setValue(company_id)

    according to the ComboBox source code, the result list should be collapsed when stop at this...
  16. ok. because onSelect is a private method which is...

    ok. because onSelect is a private method which is not recommend to override.
    it's better to use 'listeners' as below,


    var search = new Ext.form.ComboBox({
    store: ds,
    ...
  17. Extjs does support '.' as dataIndex. but it's not...

    Extjs does support '.' as dataIndex. but it's not safe to use because if any one row record has no such object(the a object in your case), the whole grid will crash.
    To use it safer, I would use...
  18. which one is the resultbar on your image? btw,...

    which one is the resultbar on your image?

    btw, your onSelect method looks redundant.


    onSelect: function(record){
    var company_id = String.format('{0}', record.data.id);
    ...
  19. Replies
    3
    Views
    1,071

    You should use JsonStore instead of ArrayStore,...

    You should use JsonStore instead of ArrayStore, but your JSON return isn't correct too.

    should be:


    {
    "roots": [{id: 1, ....}, {id: 2, ....}, {id: 3, ....}],
    "total": 20
    }
  20. Replies
    2
    Views
    1,130

    read FormPanel...

    read FormPanel API, and fileUpload config.
  21. Replies
    2
    Views
    2,176

    try remove triggerAction: 'all' in combo2.

    try remove triggerAction: 'all' in combo2.
  22. load your grid store with new params when submit...

    load your grid store with new params when submit the form.

    something like:


    {
    text: 'Submit',
    handler: function() {
    visitationStore.load({params: {addr2:...
  23. Thread: ajax module

    by jarlau
    Replies
    10
    Views
    2,212

    http://www.sencha.com/products/extjs3/ and ...

    http://www.sencha.com/products/extjs3/

    and

    http://www.sencha.com/products/jsbuilder
  24. Thread: ajax module

    by jarlau
    Replies
    10
    Views
    2,212

    then you need to modify ext.jsb2 which is under...

    then you need to modify ext.jsb2 which is under the root folder(e.g. ext-3.3.1/) to build a new ext-all.js by jsbuilder2.
  25. Thread: ajax module

    by jarlau
    Replies
    10
    Views
    2,212

    cause Ext.LoadMask is not ext core's class. it's...

    cause Ext.LoadMask is not ext core's class. it's extjs' class.

    make sure what you want to do first. and visit http://www.sencha.com/products/extcore/ & http://www.sencha.com/products/extjs/ to...
Results 1 to 25 of 171
Page 1 of 7 1 2 3 4