We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Setting rowcount = max in Grid control

Thread ID:

Created:

Updated:

Platform:

Replies:

62860 Jun 24,2007 03:40 PM UTC Jul 10,2007 03:19 PM UTC WinForms 3
loading
Tags: GridControl
Vivek Vashisht
Asked On June 24, 2007 03:40 PM UTC

Hi,

Can you please let me know how can I set the rowcount and colcount to the max in a grid control?

thanks
viv

haneefm [Syncfusion]
Replied On June 25, 2007 03:19 PM UTC

Hi Vivek,

Have you tried setting:

[c#]
grid.RowCount = MaxRowCount;
grid.ColCount = MaxColCount;
grid.ResetVolatileData();

to see if this helps.

Best regards,
Haneef

Vivek Vashisht
Replied On July 10, 2007 11:59 AM UTC

Haneef,

unfotunately, your solutino did not help. Pls provide some other solution to set the rowcount and col count to max.

like by default the grid control shows 10 rows, i want maximum rows to be displayed.

vivek

>Hi Vivek,

Have you tried setting:

[c#]
grid.RowCount = MaxRowCount;
grid.ColCount = MaxColCount;
grid.ResetVolatileData();

to see if this helps.

Best regards,
Haneef

haneefm [Syncfusion]
Replied On July 10, 2007 03:19 PM UTC

Hi Vivek,

If you want to change the rowcount, change in directly in the GridData object. This will help you to resolve the issue.

this.gridControl1.Model.Data.RowCount = 100;
this.gridControl1.Model.Data.ColCount = 30;
this.gridControl1.ResetVolatileData();
this.gridControl1.UpdateScrollBars();
this.gridControl1.Refresh();

Best regards,
Haneef

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;