Search Type: Posts; User: droessner

Page 1 of 5 1 2 3 4

Search: Search took 0.04 seconds.

  1. We ran into a similar issue in our application using 5.1.1. I unfortunately don't have a working test case either since I don't know exactly what part of the application causes it. I do know though...
  2. Replies
    5
    Views
    888
    +1
  3. You can access the paste data from the event:



    editor.getEditorBody().onpaste = function (event) {
    console.log(event.clipboardData.getData('text'));
    };
  4. 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.
    ...
  5. 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...
  6. Here's a working example:

    48a
  7. 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
  8. 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;
  9. Ext.define('Overrides.form.field.Date', {
    override: 'Ext.form.field.Date',
    useStrict: true
    });
  10. You just need to get rid of the inputType: '1' config on your checkbox definition.
  11. 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...
  12. If you want to constrain the window to the entire panel, you can add the following config to your window:



    constrainTo: me.getEl()
  13. Replies
    2
    Views
    1,271
    Something like this?

    3si
  14. Replies
    2
    Views
    647
    Take a look at the grid summary feature: http://docs.sencha.com/extjs/4.2.2/#!/api/Ext.grid.feature.Summary
  15. Replies
    4
    Views
    868
    It will calculate the max column width based on the data that is loaded in the store on the client side.
  16. Replies
    4
    Views
    868
    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:...
  17. Replies
    2
    Views
    439
    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'
    });
  18. Replies
    7
    Views
    2,177
    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
  19. 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...
  20. Take a look at the beforeprefetch and prefetch events. These events are fired when records are prefetched in a buffered store.
    ...
  21. 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);});...
  22. Replies
    1
    Views
    357
    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
  23. Replies
    2
    Views
    652
    You can specify a group header template. See http://docs.sencha.com/extjs/4.2.2/#!/api/Ext.grid.feature.Grouping-cfg-groupHeaderTpl
  24. Replies
    2
    Views
    821
    I also use WebStorm. Great IDE for JavaScript development.
  25. Replies
    3
    Views
    5,763
    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:...
Results 1 to 25 of 116
Page 1 of 5 1 2 3 4