ADAdministrator Syncfusion Team August 3, 2004 08:45 AM UTC
You can set the size of the grid so it can display the first 20 records.
this.gridDataBoundGrid1.Size = new Size(this.gridDataBoundGrid1.Size.Width, this.gridDataBoundGrid1.Model.RowHeights.GetTotal(0, 20));
ADAdministrator Syncfusion Team August 3, 2004 12:32 PM UTC
this.gridDataBoundGrid1.Dock = System.Windows.Forms.DockStyle.Left;
This supercedes any explicit sizng of the grid as it is docked left which menas its height is determined by its parent.
If you comment out that line (from the designer generated code), the buttons work to show 10 and 20 rows for me.