View Full Version : Adding complex behavior to grid cell

30 Jun 2009, 7:45 AM
Hi all,

I need to create a grid cell with somewhat complex behavior. Basically, I want a on-hover drop down that shows a div. In that div are three links, one of which will add a row to the grid when clicked.

Creating the div and the links are easy, as you just pump out the html for it in the renderer function provided on a column in the columnModel. That said, I'm having a hard time figuring out how to wire up the element inside my renderer to have access to the grid and store so that it can add a row.

Any suggestions?



30 Jun 2009, 5:53 PM