PDA

View Full Version : CustomEvents/Buttons in the grid


yogurtearl
11-13-2006, 12:46 PM
If a column in a grid has YAHOO.util.CustomEvent objects in it then the grid could render it as a Button and fire on the event when pressed. It would pass the context(row, column, Datamodel, etc) to the event.

This could also be done with Function objects in columns (i.e. call the function when the button is pressed).

Yogurt Earl