Search Type: Posts; User: jarlau

Page 1 of 5 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    6
    Views
    2,536
    load the store on grid render event.
  2. Replies
    18
    Views
    4,859
    columnWidth option is needed in order to show items in the same row.
    for further info read ColumnLayout api.
  3. Replies
    3
    Views
    925
    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. use beforeexpandnode & expandnode listeners of TreePanel.
  5. Replies
    3
    Views
    925
    try use load event of store.



    store.on('load', function(ds) {
    // focus row here.
    });
  6. Replies
    18
    Views
    4,859
    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 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. 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.
  10. What is ColumnSelectionModel? Do you meant CheckboxSelectionModel?

    read API selectRecords and selectRows for more information.
  11. Replies
    18
    Views
    4,859
    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
    4,859
    From API:
  13. try:



    var cell = grid.getView().getCell(7,9);
    Ext.fly(cell).highlight("CCFF33", {attr: "background-color",duration: 5});
  14. Replies
    18
    Views
    4,859
    or use compositefield?
  15. 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 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 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, your onSelect method looks redundant.


    onSelect: function(record){
    var company_id = String.format('{0}', record.data.id);
    ...
  19. Replies
    3
    Views
    848
    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
    927
    read FormPanel API, and fileUpload config.
  21. try remove triggerAction: 'all' in combo2.
  22. load your grid store with new params when submit the form.

    something like:


    {
    text: 'Submit',
    handler: function() {
    visitationStore.load({params: {addr2:...
  23. Replies
    10
    Views
    1,693
    http://www.sencha.com/products/extjs3/

    and

    http://www.sencha.com/products/jsbuilder
  24. Replies
    10
    Views
    1,693
    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. Replies
    10
    Views
    1,693
    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 120
Page 1 of 5 1 2 3 4