Need extra row headers

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.

9 Replies

MA Manoj 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.


MA Manoj 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



MA Manoj 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




HA haneefm Syncfusion Team 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


MA Manoj 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


HA haneefm Syncfusion Team 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


MA Manoj 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?


HA haneefm Syncfusion Team 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


MA Manoj July 6, 2007 06:03 AM UTC

Hi Haneef,

Thanks buddy, you saved a life again.

Regards,
Manoj

Loader.
Up arrow icon