How set GridViewTemplate height or Always Show Horizontal Scroll?

1 Answer 57 Views
GridView
neil
Top achievements
Rank 1
Iron
neil asked on 14 Nov 2024, 02:27 AM

as following picture shows, I have a hierarchical "Grid View", when the amount of data is too large, I can not see the horizontal scrollbar of “Event”

1 Answer, 1 is accepted

Sort by
0
Dinko | Tech Support Engineer
Telerik team
answered on 14 Nov 2024, 02:54 PM

Hello Neil,

I appreciate the provided image.

In general, the RadGridView is designed to use different TableElements for the different hierarchy levels. Hence, depending on the number of columns in the respective hierarchy level (TableElement) and considering the columns' width, a separate horizontal scrollbar is expected to be shown for the TableElement. In addition, the master level may not need a horizontal scrollbar if it has only 3 columns while the child view has more than 10 columns. Thus, you will scroll only the hierarchical view and its columns, not both of the grid levels. 

As for your case, I am not exactly sure why the horizontal scroll bar does not appear. Can you check the code and see if there is a static width set to the hierarchy child template? Can you also check if the referenced Telerik assemblies are the latest version? If not, you can download the latest version of our controls and check again if this behavior is still observed. If yes, may I ask you to isolate the reported behavior in a standalone project and send it to me so that I can further investigate it? You can add some dummy data just to populate the RadGridView control.

Regards,
Dinko | Tech Support Engineer
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
GridView
Asked by
neil
Top achievements
Rank 1
Iron
Answers by
Dinko | Tech Support Engineer
Telerik team
Share this question
or