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.
Unfortunately, activation email could not send to your email. Please try again.

Grid Header

Thread ID:

Created:

Updated:

Platform:

Replies:

53958 Dec 26,2006 02:23 AM Dec 27,2006 01:01 AM Windows Forms 3
loading
Tags: GridControl
dhana
Asked On December 26, 2006 02:23 AM

Hi all,

I have problem in increasing the height of the grid header(only header) in GridDataBoundGrid.so,
to make the caption in the header looks good.
can anyone suggest me a idea.

thanks in advance,

Dhana



Administrator [Syncfusion]
Replied On December 26, 2006 03:39 AM

Hi Dhana,

Use the Model.RowHeight property to increase the height of row in a grid. Here is a code snippet to increase the ColumnHeader row height.

this.gridDataBoundGrid1.Model.RowHeights[0] = 200;

Best Regards,
Haneef

dhana
Replied On December 27, 2006 12:49 AM

hi Haneef!

its working fine.

I have another problem?

I have checkbox in my GridDataBoundGrid.

and instead of displaying checkbox for each row

i should only one checkbox representing a group of records,i may have 5 to 6 group with each groups having 1 to 10 records in it.so i should have only no. of checkbox equal to no. of Groups.
how to tackle this problem.

i have attched the exact prototype of the screen.

pls suggest me a idea.

thanks in advance.

Administrator [Syncfusion]
Replied On December 27, 2006 01:01 AM

Hi Dhana,

Try adding the Model.CoveredRanges in a grid to resolve this. Here is a code snippet to show this.

//Group1#(1,1) cell is CheckBox cell.
this.gridDataBoundGrid1.Model.CoveredRanges.Add(GridRangeInfo.Cells(1,1,3,1));
//Group2#(4,1) cell is CheckBox cell.
this.gridDataBoundGrid1.Model.CoveredRanges.Add(GridRangeInfo.Cells(4,1,7,1));
//Group3#(8,1) cell is CheckBox cell.
this.gridDataBoundGrid1.Model.CoveredRanges.Add(GridRangeInfo.Cells(8,1,11,1));

Please refer to the attached sample for more details.
GroupCheckBox.zip

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.

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.

;