We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Row Click Event

Thread ID:





131050 Jun 17,2017 01:41 PM UTC Jun 19,2017 08:43 AM UTC ASP.NET Core 1
Tags: Grid
Zhen Liu
Asked On June 17, 2017 01:41 PM UTC

I want to open a new edit page when user clicks on a row in the grid. 

Venkatesh Ayothi Raman [Syncfusion]
Replied On June 19, 2017 08:43 AM UTC

Hi Zhen, 

Thanks for contacting Syncfusion support. 

We have achieved your requirement using recordClick event in Grid. This event gets triggered when we click the record in Grid. In this event, we can redirect to another page while we click the record. Please refer to the following code example and Help documentation for more information, 

Code example
<ej-grid id="FlatGrid" datasource="@ViewBag.child" allow-paging="true" record-click="recordClick" allow-filtering="true" allow-searching="true" > 
        . . . 
     <script type="text/javascript"> 
         function recordClick() { 
             //Reidrect to another view 
             window.location.rel='nofollow' href = '/Home/Contact/'; 

We have also prepared a sample for your convenience which can be download from following link, 

If we misunderstood your requirement, then could you please provide more details about your requirement? It would be helpful for us to find the query and provide the better solution as earliest. 

Venkatesh Ayothiraman. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon