GridGroupingControl - Removing Vertical Scrollbar

Hi, We are using v 3.2.1.0. My GridGroupingControl is displaying vertical scrollbar when datasource has got NO records. To test, I have just put one GridGroupingControl on a form, without even any datasource. When I run this, even this also is displaying vertical scrollbar.. How to remove this? Rgds Rajani Kanth

3 Replies

AD Administrator Syncfusion Team May 22, 2006 03:43 AM UTC

Hi Badri, You can use this code: this.gridGroupingControl1.TableControl.VScrollBehavior = GridScrollbarMode.Disabled; this.gridGroupingControl1.TableControl.UpdateScrollBars(); Best regards, Haneef


BR Badri Rajani Kanth May 23, 2006 05:59 PM UTC

Haneef, This is totally remove. I tried with GridScrollbarMode.Automatic. But still the same problem...Can you plz check at your end? Rgds Rajani Kanth >Hi Badri, > >You can use this code: > >this.gridGroupingControl1.TableControl.VScrollBehavior = GridScrollbarMode.Disabled; >this.gridGroupingControl1.TableControl.UpdateScrollBars(); > >Best regards, >Haneef


AD Administrator Syncfusion Team May 24, 2006 07:17 AM UTC

Hi Rajani, Sorry for the inconvenience caused. I have created a sample as per your specification. Attached sample works fine with the vertical scroll''s automatic mode in a GroupingGrid. To track down what is causing this problem, you could try commenting out all this code, and then just assign the datasource in a grid adding only the minimal code shown in the sample that works. If this simple code works, you could start adding other pieces of the original code until this breaks. Maybe this would point to what is failing. If you can send us a sample that does not work, we can try to debug it here. Thanks for your co-operation. Regards, Haneef

Loader.
Up arrow icon