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.
Syncfusion Feedback

Need extra row headers

Thread ID:

Created:

Updated:

Platform:

Replies:

63299 Jul 2,2007 12:37 PM UTC Jul 6,2007 06:03 AM UTC Windows Forms 9
loading
Tags: GridControl
Manoj
Asked On July 2, 2007 12:37 PM UTC

I need following structure to be created dynamically from DB

1.11.21.3
1.41.5
1.61.7
2.12.22.3
2.42.5
2.62.7
2.82.9
3.13.23.3
3.43.5
4.14.24.3


The gray colored area denotes row headers.

Please help.

Manoj
Replied On July 2, 2007 12:41 PM UTC

Please ignore the HTML above and tell me how to add it here OR paste the same in html viewer and view the structure but help me.

Manoj
Replied On July 2, 2007 12:43 PM UTC


(sorry, I may be desperate but It's urgent)

>

1.11.21.3
1.41.5
1.61.7
2.12.22.3
2.42.5
2.62.7
2.82.9
3.13.23.3
3.43.5
4.14.24.3


Manoj
Replied On July 3, 2007 05:41 AM UTC

I am using Grid control version 5.4


(sorry, I may be desperate but It's urgent)



1.11.21.3
1.41.5
1.61.7
2.12.22.3
2.42.5
2.62.7
2.82.9
3.13.23.3
3.43.5
4.14.24.3



haneefm [Syncfusion]
Replied On July 3, 2007 09:41 PM UTC

Hi Manoj,

Please refer to attached sample that shows you "How to export the grid to HTML?".(sample uses GridControl). Right now we don't have a sample for converting DataBoundGrid to HTML.

Sample : GridToHtml.zip

Best regards,
Haneef

Manoj
Replied On July 4, 2007 05:35 AM UTC



Thanks Haneef,
For the sample, However I guess I was not clear with the requirements. I wanted to show you the structure of grid I required and not the HTML export functionality. I do not know image editing so I created that HTML.

sorry for trouble, but I do not know how can I specify the requirements.

Regards,
Manoj

haneefm [Syncfusion]
Replied On July 4, 2007 08:04 PM UTC

Hi Manoj,

You can use the Model.CoveredRanges to acheive this. Please try the attached sample and let me know if this helps.

this.gridControl1.Model.CoveredRanges.Add(GridRangeInfo.Cells(1, 1, 3, 1));
this.gridControl1.Model.CoveredRanges.Add(GridRangeInfo.Cells(4, 1, 6, 1));
this.gridControl1.Model.CoveredRanges.Add(GridRangeInfo.Cells(7, 1, 9, 1));

Sample :GridCoveredRange.zip

Best regards,
Haneef

Manoj
Replied On July 5, 2007 07:08 AM UTC

Hello Haneef,

I guess the things got sorted out, thanks for your help. Can I ask a small favour? The covered cells do not look like row headers, even if I make the celltype as Button or Button3D, any ideas?

haneefm [Syncfusion]
Replied On July 5, 2007 06:02 PM UTC

Hi Manoj,

Try setting the CellType to "Header" in a grid covered cell.

this.gridControl1.Model[1, 1].CellType = "Header";

Best regards,
Haneef

Manoj
Replied On July 6, 2007 06:03 AM UTC

Hi Haneef,

Thanks buddy, you saved a life again.

Regards,
Manoj

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

;