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

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

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.


1 Reply

RR Ranjithkumar R G Syncfusion Team April 12, 2013 04:33 AM UTC

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.


Loader.
Live Chat Icon For mobile
Up arrow icon