Nov 22, 2012, 3:20 PM
MVC Grid Column Renderer Multiple Column Values
Can anyone help
I am trying to add a column type that is a hyperlink. I would like to control how this is rendered in JS.
Html.X().Column().DataIndex("Id").Renderer("MyFunc ")
This is close to what I need, but the limitation with this is the DataIndex column is passed only. I would like two pass 2 column values. There are a number of ways to do this with the various toolbar buttons and command buttons but none seem to let me produce a hyperlink. Ideally I am after a custom listener to pass what columns I like this will give me the greatest control using JS.
Thanks,
I am trying to add a column type that is a hyperlink. I would like to control how this is rendered in JS.
Html.X().Column().DataIndex("Id").Renderer("MyFunc ")
This is close to what I need, but the limitation with this is the DataIndex column is passed only. I would like two pass 2 column values. There are a number of ways to do this with the various toolbar buttons and command buttons but none seem to let me produce a hyperlink. Ideally I am after a custom listener to pass what columns I like this will give me the greatest control using JS.
Thanks,