Search:

Type: Posts; User: thommy

Search: Search took 0.02 seconds.

  1. Simple and perfect! Thank you.

    Simple and perfect!

    Thank you.
  2. Temporarly disable the drag feature of a panel

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

    Thanks,
    thommy
  3. Replies
    6
    Views
    1,559

    A work around is to extend the tabpanel class and...

    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
    79
    Views
    49,494

    ColFitLayout (based on the implementation of RowFitLayout)

    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,967

    In firefox the insert position is marked by a...

    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,967

    Solved: Reordering of tabs in a tabpanel

    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
    4,712

    A simple solution is to use one of the predefined...

    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,967

    Here is my solution (a simplified version - not...

    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,551

    Why not hide and show the resizer handles? ...

    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 =...

    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 =...

    Use the selectionModel:



    var selectedNode = tree.getSelectionModel().getSelectedNode();
  12. Replies
    12
    Views
    5,967

    Draggable Panel in a TabPanel

    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