First declare the menu
this.menu1 = new goog.ui.FilteredMenu();
this.menu1.setFilterLabel('Create / search');
this.menu1.setAllowMultiple(true);
this.menu1.addItem(new goog.ui.CheckBoxMenuItem("one"));
this.menu1.addItem(new goog.ui.CheckBoxMenuItem("two"));
after declare the menu button
this.b1 = new goog.ui.MenuButton('File',this. menu1,
new goog.ui.Css3MenuButtonRenderer());
this.b1.setId('FileButton');
this.b1.render(goog.dom.getElement('btnMenu'));
The problem is that when i click inside menuitem, the menu close its self