Results 1 to 9 of 9

Thread: Probleme TreePanel and MultiSelectionModel

  1. #1

    Default Probleme TreePanel and MultiSelectionModel

    Hi everybody.

    I've just try the TreePanel and MultiSelectionModel and it works fine... but :

    When you press the ctrlKey and then you click on a TreeNode in order to select it, the ctrl-click open a new tab in firefox. I think that the problem come from the following code

    Code:
    <div id="yddgen-7" class="x-tree-node-el x-tree-node-leaf">
    	<span class="x-tree-node-indent"/>
    	
    	
    	<a id="ext-gen45" tabindex="1" href="#">
    		<span id="yddgen-8" unselectable="on">GENS_VOYAGE_point</span>
    	</a>
    </div>
    The tag <a> get a HREF attribute set to '#' so the ctrl-click try to open the current page in another tab.

    It is possible to replace href='#' by style="cursor:hand;cursor:pointer;"

    It'll avoid the new tab and keep the hand on the item.

    So it'll be very cool if you could do it.

    Thanks for your hard work Jack.

  2. #2
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    New York, NY
    Posts
    6,956

    Default

    The A is required for Opera and Safari which don't support focusing divs, spans etc. I may be able to suggest an alternate workaround.

  3. #3

    Default

    thanks.

    I'm waiting for you!

  4. #4
    Ext User
    Join Date
    Mar 2007
    Posts
    176

    Default

    I'm noticing the same thing. Anyone have a work around? Any way to capture the event?

  5. #5
    Ext User
    Join Date
    May 2007
    Location
    Minnesota
    Posts
    66

    Default

    I've also run across this issue; I'd rather not have to force my Firefox users to switch to IE7, for obvious reasons

  6. #6
    Sencha User
    Join Date
    Apr 2007
    Posts
    7

    Default Fix?

    Was this issue ever addressed? I can't seem to find a solution in the forums and it still seems to be happening. Any help would be greatly appreciated.

    Thanks!

  7. #7
    Ext JS Premium Member
    Join Date
    Jul 2007
    Location
    UK
    Posts
    71

    Default

    I have also just run into this issue, and as a result have unfortunately had to disable multi-select in all my trees, which is a pity.

    Is this problem still present in Ext 2.0?

  8. #8
    Sencha Premium User
    Join Date
    Oct 2007
    Location
    Berlin, Germany
    Posts
    891

    Default

    Quote Originally Posted by AdamDawes View Post
    Is this problem still present in Ext 2.0?
    Yes, it is.

    Well, in 2.0 RC1 it does not happen with the CTRL-Key anymore . Although pressing the shift-key while clicking opens a new browser-window...But the problem relayed on multiple selection with the ctrl-key, so i think this one is solved

  9. #9

Similar Threads

  1. createStyleSheet probleme
    By alex1er in forum Ext 1.x: Bugs
    Replies: 0
    Last Post: 29 Mar 2007, 6:07 AM
  2. MultiSelectionModel
    By mouglas in forum Ext 1.x: Help & Discussion
    Replies: 0
    Last Post: 27 Feb 2007, 4:06 AM
  3. Probleme ctrl + click
    By alex1er in forum Ext 1.x: Bugs
    Replies: 4
    Last Post: 22 Feb 2007, 8:10 AM
  4. probleme Event ie firefox
    By alex1er in forum Ext 1.x: Help & Discussion
    Replies: 4
    Last Post: 13 Feb 2007, 1:58 AM
  5. Jsonview probleme
    By alex1er in forum Ext 1.x: Help & Discussion
    Replies: 4
    Last Post: 15 Jan 2007, 7:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •