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.

How to get the cell values on the client side of Syncfusion grid?

Thread ID:

Created:

Updated:

Platform:

Replies:

108219 Apr 9,2013 09:48 AM Apr 12,2013 12:33 AM ASP.NET MVC (Classic) 1
loading
Tags: Grid
Kedar Kodlapur
Asked On April 9, 2013 09:48 AM

Hi,
I tried  using

gridObj = $find("Grid1");
var selectedRows = gridObj.selectedRows();

But when I run it throws the following error:

TypeError: gridObj is null
http://localhost:56841/wlnscripts/jquery-1.8.0.min.js/eval/seq/9
Line 13

Kindly help..

Also where is the documentation of all the properties that are used in grid. Eg:OnRecordSelectionEvent.
Link:http://mvc.syncfusion.com/demos/ui/grid/GettingStarted/FlatGrid
shows how to use grid.
Kindly send me a link which has the documentation.


Ranjithkumar R G [Syncfusion]
Replied On April 12, 2013 12:33 AM

Hi kedar,

 

Thanks for using Syncfusion products.

 

We suggest you to handle ClientSide OnRecordSelection event to get the cell values inn client side. Please refer to the code snippet below.

 

[Script]

 

   function selection(sender, args) {

        alert(args.record.Title);

    }

 

[View]

 

    .ClientSideEvents(e => e.OnRecordSelectionEvent("selection"))

 

Sample link: sample-2.zip

 

 

We regret for the inconvenience caused. Presently, we do not have any documents related to your requirement. We will update our online documentation and will let you know once it is done.

 

Please let us know if you have any concern.

 

Regards,

Ranjithkumar.


CONFIRMATION

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.

;