Search Type: Posts; User: droessner

Page 1 of 5 1 2 3 4

Search: Search took 0.03 seconds.

  1. Yes, you can add an itemId to the tab using the tabConfig property. Take a look at the documentation for http://docs.sencha.com/extjs/4.2.2/#!/api/Ext.tab.Panel under the Controlling Tabs section.
    ...
  2. You can add a selectionchange listener to your grid and then set the button to be enabled/disabled based on the selections in the grid. The second parameter will be an array of all the selected...
  3. Here's a working example:

    48a
  4. You can use the scrollIntoView method: http://docs.sencha.com/extjs/4.2.2/#!/api/Ext.dom.Element-method-scrollIntoView

    Here's an example:

    46t
  5. Sorry, I was testing with 4.2.1. I just checked again and just adding the following worked for me under 4.0.7.



    Ext.Date.useStrict = true;
  6. Ext.define('Overrides.form.field.Date', {
    override: 'Ext.form.field.Date',
    useStrict: true
    });
  7. You just need to get rid of the inputType: '1' config on your checkbox definition.
  8. Since you are adding the window to the panel body, the modal is only over the body. Instead of adding the window to the panel body, you could add it to the panel's owner component so that it covers...
  9. If you want to constrain the window to the entire panel, you can add the following config to your window:



    constrainTo: me.getEl()
  10. Replies
    2
    Views
    585
    Something like this?

    3si
  11. Replies
    2
    Views
    452
    Take a look at the grid summary feature: http://docs.sencha.com/extjs/4.2.2/#!/api/Ext.grid.feature.Summary
  12. Replies
    4
    Views
    663
    It will calculate the max column width based on the data that is loaded in the store on the client side.
  13. Replies
    4
    Views
    663
    ExtJS provides a method that does this for you. Your plugin can be simplified to something like this:



    Ext.define('my.ColumnAutoWidth', {
    extend: 'Ext.AbstractPlugin',
    alias:...
  14. Replies
    2
    Views
    279
    You can update the data-qtip attribute directly. If it was defined in the labelAttrTpl then you could do something like this:



    combo1.labelEl.set({
    'data-qtip': 'New tooltip'
    });
  15. Replies
    7
    Views
    1,240
    Since 4.2.0 you can use the dock config for this:

    http://docs.sencha.com/extjs/4.2.0/#!/api/Ext.grid.feature.Summary-cfg-dock
  16. You should look into using a tool like JSLint (http://jslint.com/) or JSHint (http://jshint.com/). These tools will help identify errors and potential problems in your code.

    Some IDE's have...
  17. Take a look at the beforeprefetch and prefetch events. These events are fired when records are prefetched in a buffered store.
    ...
  18. IE8 does not implement the forEach method on Array's natively.

    This should fix it:


    Ext.Array.forEach(Ext.getCmp('formId').query('.field'),function(c){c.setReadOnly(true);});...
  19. Replies
    1
    Views
    255
    Are you using 4.2.1? This was a bug that was introduced in 4.2.1. The bug id is EXTJSIV-9957. This has been fixed in 4.2.2.


    See http://www.sencha.com/forum/showthread.php?264529
  20. Replies
    2
    Views
    544
    You can specify a group header template. See http://docs.sencha.com/extjs/4.2.2/#!/api/Ext.grid.feature.Grouping-cfg-groupHeaderTpl
  21. Replies
    2
    Views
    546
    I also use WebStorm. Great IDE for JavaScript development.
  22. Replies
    3
    Views
    2,781
    You can add a load listener to your store and insert the record into the store. Something like this:



    store: {
    autoLoad: true,
    fields: ['Value', 'Text'],
    proxy: {
    type:...
  23. It sounds like you just need to change the gap between label and printer to have flex: 1 instead of a fixed width.
  24. Replies
    3
    Views
    435
    You could use the hbox layout with pack: 'center'. Something like this:



    Ext.create('Ext.form.Panel', {
    title: 'Simple Form',
    bodyPadding: 5,
    width: 550,
    height: 200,
    ...
  25. The expand and collapse events are fired when the checkbox is checked/unchecked.

    http://docs.sencha.com/extjs/4.2.2/#!/api/Ext.form.FieldSet-event-expand...
Results 1 to 25 of 116
Page 1 of 5 1 2 3 4