Mouseover on grid column menu broken? - Ext JS

When I mouseover the column menu, I get li.getRegion().adjust is not a function (line 15955 in ext-all-debug.js).
  # 2  
02-20-2007, 08:40 AM

Hmm, apparently it requires yui-overrides.js which is not included in the ext-all*.js files.
  # 3  
02-20-2007, 08:48 AM

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  
02-20-2007, 08:53 AM

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  
02-20-2007, 09:21 AM

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.

你可能感兴趣的:(ext,REST,UP,yui)