Search Type: Posts; User: fbchen

Search: Search took 0.01 seconds.

  1. Try this one:

    form = Ext.create('Ext.form.Panel', {
    keys: [{
    key: Ext.EventObject.ENTER,
    fn: function(){alert('It Fired');}
    listeners: {
    render: function(p) {p.getKeyMap();}
  2. Thank you for your reply, Mitchell.
  3. This is maybe a bug: ExtJs version is 4.1.0-beta-1. When call panel.getEl().switchOff(), the code run into an endless loop. Example code like this:

  4. Replies
    Thank you! According to shirtle's solution, I change my reload method as follow:

    * reload a tree node, and expand it
    * @param {Ext.tree.Panel} tree
    * @param {}...
  5. hi, I test your code, and change something, it works.
    1, add 'associationKey' to the 'hasMany' config, like this:

    {name:'itemData', model:'ItemModel', associationKey:...
  6. Replies
    2,918 fieldName, String/RegExp value, [Number startIndex], , [Boolean caseSensitive], Boolean exactMatch)
    By default, the value is not exact matched in this method. In the...
  7. Replies
    Do you want to reload a tree node? If so, it seems that there is no reload method in the In my option, to reload a node we must call a 're-expand' method, and this code works...
  8. Replies
    The tree node adds a default class 'x-tree-checked' upon the tree node is checked, so just define your css style. Try this:
    .x-tree-checked {
    text-decoration: line-through;
  9. Thank you skirtle.
    Yes, there is not any listener when the TreeStore fireEvent('beforeload') on the root node expand. This is the reason. So I remove the expanded: true on the root node, and set...
  10. Hi, all! I encountered an odd problem when I use Ext-4.0.2a. I create a tree that will loads data from the server via AJAX proxy, and the root node is set to "rootVisible: false", and the code likes:...
Results 1 to 10 of 10