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. Image for the cookie policy date
close icon

Row Click Event

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

1 Reply

VA Venkatesh Ayothi Raman Syncfusion Team 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. 

Live Chat Icon For mobile
Up arrow icon