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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Using ValueList

Thread ID:





128346 Jan 16,2017 03:30 PM UTC Jan 17,2017 06:27 PM UTC Xamarin.Forms 1
Tags: SfDataGrid
Stefaan Avonds
Asked On January 16, 2017 03:30 PM UTC

Hi everyone

I'm using a SfDataGrid to show all the records in a Database. Everything is working fine, except for the Guid-values; they are not shown. What I'm trying to achieve is that this Guid-value is converted using a ValueList.

For example: the table that is shown in the grid contains a Guid-value "IdUser" which references to a table with the Users for the application. When the grid is generated I want the Guid-value of "IdUser" to be converted to a property of the Users-table.

Is this possible to do?

P.S.: is this also possible with an integer-value to be converted to an enum-string?

Ashok N [Syncfusion]
Replied On January 17, 2017 06:27 PM UTC

Hi Stefaan, 
Thanks for contacting Syncfusion support. 
We have checked your query and based on your requirement you have to set the IdUser property is List<UsersTable> and you have to define the display values of that column by writing a converter for DisplayBinding. Please refer the below UG link for DisplayBinding Converter. 
Query regarding integer-value to be converted to an enum-string 
You can achieve your requirement by writing the Converter of the GridColumn.DisplayBinding to customize the cell content.  
If your requirement is defer for this, could you please share your sample along with replication procedure, that would be more helpful for further analyze. 


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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