Derrell Lipman wrote:
> On Mon, May 31, 2010 at 12:06, Kenneth Tilton <kentil...@gmail.com 
> <mailto:kentil...@gmail.com>> wrote:
> 
>     I am just starting to look at this but thought I'd throw out a question
>     to see if it rings a bell with anyone... I have the table in this
>     example (seen halfway down) http://wiki.github.com/kennytilton/qooxlisp/
>     working great, including sorting columns and repositioning columns, but
>     the column menu to the right is not working. In classic theme I see the
> 
> 
> That link shows a table but it's just an image, so I can't test it to 
> see what's going on. If you provide a small playground example of the 
> problem, I may be able to tell you what the problem is.

I think that will have to be my next step, to start over building the 
interface and see where the menu stops working. Sprinkling debug 
statements around what I see is that the "appear" event for the menu 
never fires. I added an "execute" listener on the button and that fires, 
and debug prints show the open function being called leading up to the 
show function being called.

In this sequence, I see the menu does not get populated until the appear 
event.

case "column-button":
  control = this.getNewColumnMenu()();
  control.set({
     focusable : false
  });
  // Create the initial menu too
  var menu = control.factory("menu", { table : this });
  // Add a listener to initialize the column menu when it becomes visible
  menu.addListener(
      "appear",
       this._initColumnMenu,
       this
  );
  break;

Well, I guess it works. :)

I'll try simplifying my example as much as possible, but it is a remote 
table so I suspect that would be hard to add to the playground.

kt


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to