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.

sfDataGrid NOT load data ...

Thread ID:

Created:

Updated:

Platform:

Replies:

120009 Aug 23,2015 09:23 AM Aug 26,2015 11:47 PM WPF 3
loading
Tags: SfDataGrid
Arn
Asked On August 23, 2015 09:23 AM

Hi All.

I have 2 sfDataGrid.
One in a tabItem.
One in another TabItem, the hidden.

Both are filled by the same method using ItemsSource = ObservableCollection.

The visible sfDataGrid load data well, the hidden NOT load until I show it, selecting the second tabItem.

To Me this is a BUG.
Strange nobody note this.

There is a workaround for this ?

Arn

Jai Ganesh S [Syncfusion]
Replied On August 24, 2015 10:17 PM

 

Hi Arn,


Thank you for using Syncfusion products.


We have analyzed your query with the simple sample. We cannot understand your requirement clearly. Normally when we load the SfDataGrid or any control in each TabItem of MS TabControl, the element on TabItem gets loaded only when switched to corresponding TabItem. This is the default behavior of tabitem.


If we misunderstood your requirement, then could you please share the more details about your query? This would be more helpful for us to serve a prompt solution.


Please let us know if you have any other queries.


Thank you,

Jai Ganesh S



Arn
Replied On August 25, 2015 05:34 AM

 

Hi Arn,


Thank you for using Syncfusion products.


We have analyzed your query with the simple sample. We cannot understand your requirement clearly. Normally when we load the SfDataGrid or any control in each TabItem of MS TabControl, the element on TabItem gets loaded only when switched to corresponding TabItem. This is the default behavior of tabitem.


If we misunderstood your requirement, then could you please share the more details about your query? This would be more helpful for us to serve a prompt solution.


Please let us know if you have any other queries.


Thank you,

Jai Ganesh S



Hi Ganesh.

I have understood that sfDataGrid don't show data if in a hidden TabItem.

Scenario:

1 tabControl.
3 TabItems.

3 SfdataGrid each of them filled with:
The first with data of today.
The second( hidden ) with the data of yesterday.
The third ( hidden ) with the data of 2 days ago.

We must see the grid filled with today data, BUT the the program MUST compute the data of yesterday.
Due to space reasons We cannot see the 3 sfdataGrid in one TabItem.

example:
G1 ( The one in visible tabItem ) g1.View.records.Count() works.
G2 ( The Hidden in second TabItem ) g2..View.records.Count() <--- raise exception.

Question:

How to read and access the data in G2 and G3 without switching the tabItems?

We have used G2.View.SourceCollection but no way to read data.

Besides it:
in MS datagrid load in 0.87 sec.
in sfDataGrid 8.02 secs.

There surely an misplaced setting, but What?

Thanks

Arn


Farjana Parveen Ayubb [Syncfusion]
Replied On August 26, 2015 11:47 PM

Hi Arn,
We analyzed your query. A support incident to track the status of this query has been created under your account. Please log on to our support website to check for further updates
https://www.syncfusion.com/account/login?ReturnUrl=/support/directtrac/incidents
Please let me know if you have any questions.
Regards,
Farjana Parveen A

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.

;