Search Type: Posts; User: thommy

Search: Search took 0.03 seconds.

  1. Simple and perfect!

    Thank you.
  2. Is it (simple) possible to enable/disable the draggable property of panels on runtime?

    Thanks,
    thommy
  3. A work around is to extend the tabpanel class and override its default template (e.g in initComponent):



    var tt = new Ext.Template(
    '<li class="{cls}" id="{id}">',
    '<a...
  4. Replies
    78
    Views
    42,877
    It doesn't render perfect as a part of a border layout (with collapsable neighbors), but the result is convenient.

    It supports the minWidth property of panels in connection with the split adapter....
  5. Replies
    12
    Views
    5,186
    In firefox the insert position is marked by a small down arrow. It's simple to add this feature:

    1. Create the element for the arrow in the initEvent method of DDTabPanel:



    initEvents:...
  6. Replies
    12
    Views
    5,186
    A simpler solution.

    It stores the position of each tab with 'spaces':

    - 1st tab gots position 2
    - 2nd tab gots position 4
    - ...
    - n-th tab gots position 2*n

    Every time the collection...
  7. Replies
    5
    Views
    3,860
    A simple solution is to use one of the predefined tool items, change its icon (css) and implement an handler.
  8. Replies
    12
    Views
    5,186
    Here is my solution (a simplified version - not fully tested yet).





    Ext.ux.DDTabPanel = Ext.extend(Ext.TabPanel, {

    initComponent: function(){...
  9. Replies
    7
    Views
    1,363
    Why not hide and show the resizer handles?



    resizer.west.setDisplayed(true|false);
  10. You can select the tree by it's id:

    var tree = Ext.getCmp('my-tree-id');

    And the node should be selected:



    this.contextMenu.on('contextmenu', function(node, event) {
    node.select();
  11. Use the selectionModel:



    var selectedNode = tree.getSelectionModel().getSelectedNode();
  12. Replies
    12
    Views
    5,186
    Hello,
    the draggable property works fine for Ext.Panels outside a Ext.TabPanel, but the following code breaks with 'panel.header has no properties'. The tools config is not visible for this panel.:(...
Results 1 to 12 of 12