Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
430
Action link in a Custom column
posted

Hi all,

I have a igGrid and i want to add a column with one ACTIONLINK or similar.

When i clicked the action link i want to go other view with other action to show row details in other view.

another option would be, on double click on the row, go directly to another view

It's this possible?

a lot of thanks for advance

Parents
No Data
Reply
  • 3115
    Offline posted

    Hi Ruben Ordonez,

    You can use an unbound column to acheive your goal.

    Inside the unbound golumn you can create anchor tag uising  Template. Here is an example:

     

    column.Unbound(

    "UnBound").Template("<a href='/Home/Details/${ID}'>Details</a>").Width("100px").HeaderText("Details");

    This code Navigate to Details ActionView of the Home controller, and it's passing ID property of my model to the ActionView, where you can add extra logic to get the details for that specific row of the grid and display them in a suitalble to your case way.

     

    Thanks,

    Todor Paskalev

    Infragistics

Children