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 customize the sfdatagrid ?

Thread ID:

Created:

Updated:

Platform:

Replies:

128697 Feb 6,2017 01:27 PM Feb 7,2017 09:03 AM Xamarin.iOS 1
loading
Tags: SfDataGrid
K Guptha
Asked On February 6, 2017 01:27 PM

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 09:03 AM

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.

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.

;