sfdatagrid asynchron data loading
does the sfdatagrid support async data loading , since it's very very common these days .
any guidance on how it can be done with a busy indicator ?
thanks and good day
Hi Issam,
Thank you for using Syncfusion Products.
Yes the SfDataGrid support Async data loading. We have prepared the
sample for loading datas by using async and await concept with BusyIndicator
and please find the sample under the following location,
Sample Link: http://www.syncfusion.com/downloads/support/directtrac/general/SfGridAsyncLoadingSample-2124420340.zip
We already have a kb for the async and await concept and please find
the kb links as follows,
Kb Links:
http://www.syncfusion.com/kb/2829/how-to-load-pages-in-ondemand-using-async-await
http://www.syncfusion.com/kb/2395/how-to-load-detailsview-itemssource-asynchronously
Please let us know if you need further assistance.
Thank you,
Jai Ganesh S
one little thing .
the WPF Exteneded Toolkit has that very cool visual effect when scrolling the grid
[URL=http://www.hostingpics.net/viewer.php?id=767404grid.jpg][IMG]http://img15.hostingpics.net/thumbs/mini_767404grid.jpg[/IMG][/URL]
like you can see, when scrolling the bottom rows fadein and become visible slowly wich give a very good effect .
it would be awesome if the sfdatagrid could do the same thing .
again any guidance is more than welcome
anyway, thanks a lot !
Hi Issam,
Thank you for the update.
We regret to inform you that, our SfDataGrid does not
having animated scrolling support
like Xceed DataGrid having.
Please let us know if you
have any other queries.
Thank you,
Jai Ganesh S
but please can you suggest me some sfdatagrid events or properties i can use to implement this type of effect myself
Hi Issam,
Thank you for the update.
We have analyzed your query. In our SfDataGrid we are reusing
the rows when scrolling the grid and it is not possible to do fading the rows
at that time. We have Incremental loading concept to load the large amount of
datas, and it allows you to load a subset of
data to datagrid sequentially. It provides support for fast and fluid scrolling and
loading a huge set of data. Could you please use this approach whether it
meet your requirement?
UG Link:
http://help.syncfusion.com/ug/wpf/default.htm#!documents/incrementalloading.htm
Sample Link: http://www.syncfusion.com/downloads/support/directtrac/general/IncrementalLoading-551158091.zip
Please let us know if you need further assistance.
Thank you,
Jai Ganesh S
thanks for your assistance !
Hi Issam,
Thank you for the update.
Please let us know if you have any queries.
Thank you,
Jai Ganesh S
i would probably use syncfusion datagrid for best performance, but man, this fading rows effect is so cool :) you know what i mean right ;)
okay , if it's not possible to do that directly with rows ,can we fake it ?
if we put a border ontop of the datagrid with some gradient transparent and hittest disabled,
then, animate the gradient on datagrid scroll .
what do you think about this approch ?
any suggestions for scroll events i can use please ?
Hi Issam,
Thank you for the update.
We have analyzed your query. You can use ScrollRows.Changed event when
we vertically scrolling the SfDataGrid.
Code Snippet [C#]:
|
using
Syncfusion.UI.Xaml.Grid.Helpers;
this.datagrid.Loaded +=
datagrid_Loaded;
void datagrid_Loaded(object sender, RoutedEventArgs e) { var visualContainer = this.datagrid.GetVisualContainer();
visualContainer.ScrollRows.Changed += ScrollRows_Changed; }
void ScrollRows_Changed(object sender, Syncfusion.UI.Xaml.ScrollAxis.ScrollChangedEventArgs e) { //Implement your code here } |
Please let us know if you need further assistance.
Thank you,
Jai Ganesh S
- 9 Replies
- 2 Participants
-
IS issam
- Feb 21, 2015 09:52 AM UTC
- Mar 4, 2015 04:44 PM UTC