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

How to bind a column asyncronously

Thread ID:





123898 Apr 29,2016 08:29 PM UTC May 2,2016 12:15 PM UTC WPF 1
Tags: SfDataGrid
Asked On April 29, 2016 08:29 PM UTC


I have a SFDatagrid that has a column like this:

           <Syncfusion:GridImageColumn  HeaderText="Image" MappingName="IconImage"   ShowHeaderToolTip="False" AllowGrouping="False" AllowSorting="False" AllowFiltering="False" AllowEditing="False" Stretch="Uniform" >

The mapped binded property "IconImage" is a ViewModel property that is quite slow, since it has to fetch a binary data from database and dynamically create a Bitmap image, before returning it.
So, I'm wondering if there is a way to mark this property as async. Otherwise the datagrid becomes very slow, waiting for the bitmap creation for every row that's displayed.

It should be very nice to have something similar to the "IsAsync=True" that can be used with the "{Binding}" construct, but it seems it can't be used here.

Can you help me to correctly call this property asyncronously so that the datagrid is not freezed when scrolled ?


Jai Ganesh S [Syncfusion]
Replied On May 2, 2016 12:15 PM UTC

Hi Silvio, 
You can achieve your requirement for binding the column asynchronously by setting the “IsAsync” property like below, 
<syncfusion:GridImageColumn HeaderText="Country" 
                            ValueBinding="{Binding Path=ImageLink, 
                                                                                     Converter={StaticResource stringToImageConverter},IsAsync=True}" /> 
<syncfusion:GridTemplateColumn HeaderText="ImageLink" MappingName="ImageLink"> 
                                    <Image  Source="{Binding ImageLink,Converter={StaticResource stringToImageConverter},IsAsync=True}"/> 
Jai Ganesh S 


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