This is a migrated thread and some comments may be shown as answers.

RadDataGrid scrolled data destroyed on Android

1 Answer 144 Views
DataGrid
This is a migrated thread and some comments may be shown as answers.
Ajaysinh
Top achievements
Rank 1
Ajaysinh asked on 23 Mar 2021, 01:23 PM

Hello,

The problem is, that the RadDataGrid scrolled data is disappear after switching tab.

What you need:

1. Add RadDataGrid inside RadTabView.
2. RadDataGrid contains 4-5 columns with Auto size Mode and horizontal scroll available.
3. Scroll content, change the tab and go again to same tab.

Result:
Scrolled data is destroyed/covered with white color on Android device only

Expectation: 

Data should display in proper way.

Thanks,
Ajay Dodiya

1 Answer, 1 is accepted

Sort by
0
Accepted
Didi
Telerik team
answered on 23 Mar 2021, 02:38 PM

Hello Ajay,

Thank you for the provided images and explanation of the issue.

If I understood correctly,  the issue is the following: when you switch tabs the scrolling information is lost. What I mean is the following ->
1. the DataGrid is scrolled to row 20 for example

2. switch to a different tab

3. the DataGrid scrolling info is lost.

Have you tried to set the RadTabView IscontentPreserved property to True? This property could be used to preserve the tabs content when switching them. In this way, the visual state of the components inside each tab wouldn't be reset. When IsContentPreserved is set to True, the tabview does not unload/reload the tabs' content. By default the property is False.

Give this a try and let me know how it goes.

Regards,
Didi
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
DataGrid
Asked by
Ajaysinh
Top achievements
Rank 1
Answers by
Didi
Telerik team
Share this question
or