Hide gridlines in gridgroupingcontrol

Hi,

How do we programmatically hide/show the horizontal and/or vertical grid lines in GridGroupingControl.

Thanks,
Ram

2 Replies

AD Administrator Syncfusion Team December 6, 2006 07:27 AM UTC

Hi Ram,

Please try this code.

//Hide the GridLines.
this.gridGroupingControl1.TableModel.Properties.GridLineColor = Color.Empty;

//Show the GridLine with "Red" color.
this.gridGroupingControl1.TableModel.Properties.GridLineColor = Color.Red;

Best Regards,
Haneef


RR Ram Raja December 6, 2006 03:45 PM UTC

Thanks for the help Haneef. You pointed me to the right direction.

I was looking for something like this.
this.gridGroupingControl1.TableModel.Properties.DisplayHorzLines = true;
this.gridGroupingControl1.TableModel.Properties.DisplayVertLines = false;

Regards,
Ram

Loader.
Up arrow icon