Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

loosing data when switching between tabs #139

Closed
MohammadGh2179 opened this issue Mar 24, 2020 · 2 comments
Closed

loosing data when switching between tabs #139

MohammadGh2179 opened this issue Mar 24, 2020 · 2 comments

Comments

@MohammadGh2179
Copy link

MohammadGh2179 commented Mar 24, 2020

Hi,
I have two tabs in AvalonDock. in the first tab, I have a DataGrid with about 5 records.
When I switch to the second tab and come back to the first tab again, no record exists in my DataGrid
Please help me
Thanks

@Dirkster99
Copy link
Owner

Sorry I cannot help you with this issue (since I don't know your app) but it sounds a lot like an issue in your app and not in AvalonDock. Please refer to my sample app Edi (https://github.com/Dirkster99/Edi) for a Data Grid sample app or use a Search Engine to find other samples...

@matko238
Copy link

Might be related to my issue #142 - @MohammadGh2179 , check if load/unload event fires and removes records from your grid - ie. model is not populated correctly. Handle those events properly and you shouldn't lose model or it's data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants