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.
Unfortunately, activation email could not send to your email. Please try again.

Info on selected row in OnRecordSelectionEvent

Thread ID:





101044 Sep 21,2011 10:45 AM Sep 23,2011 12:13 AM ASP.NET MVC (Classic) 1
Tags: Grid
Administrator [Syncfusion]
Asked On September 21, 2011 10:45 AM

I would like to call a client-side Javascript method when a row is selected in the grid, and in the script get information on the contents of the selected row. Can you give me an example of how to do this? Something like:

function rowSelected()


.ClientSideEvents(events =>

Sridhar N [Syncfusion]
Replied On September 23, 2011 12:13 AM

Hi Jim,

Thanks for your interest in Syncfusion products.

Your requirement can be achieved by having parameters(sender,args) in the function. Using args you can get the information of the selected row.Please refer the below code snippet.


.ClientSideEvents(events =>


function RowSelected(sender, args)
alert("The Selected Record Title is " + args.record.Title);

For your convenience, we have created sample and the same can be downloaded from the following link.


Please let me know if you have any other questions or concerns.



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.

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.