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. Image for the cookie policy date

Custom header row in GDBG

I posted the same question 15 min back but it is not in the list. I don’t know what happened. Hi, I am using GDBG and it is being used in multirowsrecord (3 rows per cell) view. Is there any way I can remove the default header row and add custom header row. I don’t want my header row to have three rows in a cell. I just want a simple header row. Thanks

1 Reply

AD Administrator Syncfusion Team May 26, 2004 05:03 PM

You can hide 2 of the 3 header rows (the last two), and then set the HeaderText for the cells in the first row. this.gridDataBoundGrid1.Model.Rows.Hidden[1] = true; this.gridDataBoundGrid1.Model.Rows.Hidden[2] = true; this.gridDataBoundGrid1.GridBoundColumns["CustomerID"].HeaderText = "Some Special Text";

Loader.
Live Chat Icon For mobile
Up arrow icon