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

Get the Rows of SFGrid

Dears ,

First kindly note that you online documentation is not including the sfGrid documentation , it is very hard and frustrating to deal with a rich controls like grids based only on few samples

and I want to access the rows of my grid , basically to make an alternative color for some rows and to add context menu to them , how to achieve this

3 Replies

JG Jai Ganesh S Syncfusion Team October 7, 2013 07:03 AM UTC

Hi alaa,


Thanks for using Syncfusion products.


We have analyzed your queries. Please find the responses for your queries below,


Query 1:


We would like to inform you that the documentation for SfDataGrid Wpf will be available within two weeks. Until then, we request you to refer  SfDataGrid WinRT documentation to get knowledge about “SfDataGrid” control.


Link: http://help.syncfusion.com/UG/winrt/default.htm#!Documents/datagridcontrol.htm


Query 2:


The alternate row style can be applied by using RowStyleSelector and overrides the SelectStyle method. We have prepared a sample based on this and please check the sample under following location,


Sample: RowStyleSample.zip


We already have a sample for Context menu .Please refer the following  Dashboard location to find the Context menu sample.




Dashboard  --- > Essential Studio Version X.X.X.X ---> UsefInterface ---> WPF ---> FastDataGrid ---> ContextMenu.


Please let us know if you need further assistance.


Thank you,

Jai Ganesh S

AE alaa ezzat October 7, 2013 10:26 PM UTC

Dear Sir ,

This thread is about WP8 grid not about WPF grid , so the paths you provided doesn't exist

PS Prakash Selvaraj Syncfusion Team October 8, 2013 12:49 PM UTC

Hi Alaa,


Sorry for the inconvenience caused.


The requirement for “Adding context menu using ContextMenuService” is present in Microsoft Phone Toolkit. We have created a simple sample to meet your requirements. Please download the sample from the following link.


Sample: http://www.syncfusion.com/downloads/support/directtrac/general/SfGrid-320279950.zip


For the requirement alternate row colour: We have logged a feature request which will be implemented in any of our upcoming releases.


Please let us know if this helps you.



Prakash S.

Live Chat Icon For mobile
Up arrow icon