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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

how to customize the sfdatagrid ?

Thread ID:

Created:

Updated:

Platform:

Replies:

128697 Feb 6,2017 06:27 PM UTC Feb 7,2017 02:03 PM UTC Xamarin.iOS 1
loading
Tags: SfDataGrid
K Guptha
Asked On February 6, 2017 06:27 PM UTC

Hi, just started using sfdatagrid.
I want to display row headers instead of column headers. is it possible with sfdatagrid ? I'm trying to get the Header names for data on leftmost column. like as below :

Name: John  selena .......and so
Dept:   IT     IT        ........
Age:   29      26        ..........
City:   LA    Nyc     ............
State: CA    NY       ............
M/F:  M      F          ............


<sfgrid: SfDataGrid.RowHeaderTemplate>
   <sfgrid:GridTextRow MappingName="Names" />
   <sfgrid:GridTextRow MappingName="Age"/>
</sfgrid: SfDataGrid.RowHeaderTemplate>

I tried like this, but it threw an error SfDataGrid>RowHeaderTemplare not found. Can you please help me with this.
Is there any sample like this. If yes, please provide me the sample, Thank you.

Ashok N [Syncfusion]
Replied On February 7, 2017 02:03 PM UTC

Hi Kumar, 

Thanks for contacting Syncfusion support. 

We have checked your query and using our SfDataGrid we can’t able to achieve your requirement. But you can achieve this by using SfListView control by changing Orientation. Please refer the below UG link to get more information about SfListView. 


Regards, 
Ashok 


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.

Warning Icon 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.Close Icon

;