PDA

View Full Version : drilldown link in grid cell



a197197
28 Oct 2007, 2:37 AM
I want to add a drilldown link to a few columns on grid.
Ideally I want to define the drilldown, be it url or js method, as a property of the column in column model, then I can use a generic link renderer to render all columns that have drilldown.
But the problem is the renderer function does not pass in the custom property I defined in column model. Is there a way to work arround this?
An alternative is to define a renderer function for each column that needs drilldown, but this seems to be an overkill as all drilldown columns only differ by the url or js method.

Any suggestions?

Animal
28 Oct 2007, 3:54 AM
http://extjs.com/learn/Ext_FAQ#How_can_I_add_click_handlers_to_specific_Grid_cells.3F