PDA

View Full Version : How to generate menu items dynamically?



msuresh
14 Dec 2010, 5:07 AM
Hi,
I have grids in 4 tabs and a "Tools" menu in top toolbar which is a separate component. Whenever the user clicks on menu, it should generate menu dynamically based on the selected record in any of the four tabs.

I tried "onclick" event in menu, but on first click it is not generating menu, however on second click it displays.

Please give me some idea on how to display the menu on the first click itself.

Regards,
Suresh