Results 1 to 5 of 5

Thread: Mouseover on grid column menu broken?

  1. #1
    Sencha User
    Join Date
    Mar 2007
    Posts
    125

    Default Mouseover on grid column menu broken?

    When I mouseover the column menu, I get li.getRegion().adjust is not a function (line 15955 in ext-all-debug.js).

  2. #2
    Sencha User
    Join Date
    Mar 2007
    Posts
    125

    Default

    Hmm, apparently it requires yui-overrides.js which is not included in the ext-all*.js files.

  3. #3
    Sencha User
    Join Date
    Mar 2007
    Posts
    125

    Default

    Another grid thing is that if you hide all the columns, the header bar disappears and you no longer have anything to click on. Of course the menu stays up, but if you click out of that, there's nothing to click on to get the columns back. I don't see this as a major problem since you'd have to be pretty silly to hide every column, but still nice to have the headerbar remain. Speaking of which, I would figure that clicking on the unused part of the headerbar would pop up the same menu you would get if you right clicked on a column header (probably with sorting options disabled, but still with show/hide columns).

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

    Default

    You are missing ext-bridge-yui.js. Take a look at the "include-order.txt file in the root of the download.

    The header context menu is for a column. Not for the header bar.

  5. #5

    Default

    Would there ever be a point in removing all of the columns? In doing so, you can't get the grid back, so I guess I don't see any point in allowing it. That being said, why don't you just disallow toggling off the last column. I.e., if there is one left, you can't hide it.

    As for the inability to right click on the rest of the header, could you just get a listener for that div and then show the menu, like kjordan said, with the sort disabled? The column toggling isn't specific to an individual column, so it seems like you should be able to do it that way.

Similar Threads

  1. dynamic tooltip on mouseover
    By manugoel2003 in forum Community Discussion
    Replies: 8
    Last Post: 16 Nov 2007, 5:46 AM
  2. slide out on mouseover
    By heidtmare in forum Ext 1.x: Help & Discussion
    Replies: 8
    Last Post: 28 Mar 2007, 5:00 AM
  3. Trying to make a grid select rows on mouseOver
    By Cavalier in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 27 Mar 2007, 3:24 PM

Posting Permissions

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