May 10, 2012, 2:47 PM
[CLOSED] MVC/Razor Configure a Renderer in a GridPanel
I have a grid where one of the columns needs to be a hyperlink. I have a webforms grid with this code:
<Column>
<Renderer Handler=? return String.format('<a href="javascript:Ext.util.Format.linkClickHandler(\'{0}\');" {1}>{2}</a>', url, qTip, display);? />
</Column>
In my new project, I can get this rar in Razor:colModel.Columns.Add(Html.X.Column().DataIndex("TaskName").Text("Task").CellCls("wideCell").Flex(1).Renderer())
However, there is no "Handler" for the Renderer and the .Renderer property is asking for an Ext.Net.Renderer item (not a delegate) so I don't know how to get the handler information to it. Will you please let me know what I need to provide to complete the link?
Last edited by Daniil; May 10, 2012 at 7:56 PM.
Reason: [CLOSED]