The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hi,
I have a standard GC which uses a virtual datasource (all data provided through Query* events) which if I set VScrollBehaviour to Enabled the scroll bar is enabled/disabled when approproriate, however with the GDBG if I set the same property to enabled the Scroll bar does not enable/disable itself correctly but starts in an enabled state. (The GDBG has 0 rows, its just showing its headers). Am I missing some setting or is this the intended behaviour/a bug?
Many thanks,
James
In fact after a little further testing the standard grid exhibits this behaviour too when row count is 0. It works correctly only when there are some rows..
ADAdministrator Syncfusion Team November 1, 2005 12:59 PM UTC
this.gridDataBoundGrid1.VScrollBehavior = GridScrollbarMode.Enabled;
should make the scrollbar always be visible. If you want it to come and go depending upon the number of rows in the grid, then try either the Automatic or DetectIfShared setting.
JMJames MooreNovember 1, 2005 02:45 PM UTC
It should but if the RowCount is 0 initially then the scroll bar starts in the wrong state. (see the attached sample).
James
ADAdministrator Syncfusion Team November 1, 2005 03:36 PM UTC
Your zip file did not contain a proj file so I could not run your sample directly. But I did copy the code in your Form an dpasted it into another project. When I run that project, the grid initially displays with a scrollbar and no data, and when I click the button, rows are added and the scrollbar is still there. This is the expected behavior as the VScrollBarBeavior is set to Enabled.
I am running version 3.3. What version of our libraries are you using.