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

Bound or unbound datagrid?

I do not know which grid to use: bound or unbound. The requirements are: 1. The number of columns shown is determined as 4 + n, where n is set up at run time. 2. The columns from 0 to 3 can be filled from dataset. 3. The columns from 4 to n should be filled one by one from datareader.. It is kind of cross tab I think, I need to use the unbound datagrid. But I even cannot start, because I cannot figure out from help how to assign the names for the columns. All samples for unbound datagrid have columns’ names like ‘A’, ‘B’ etc. Could somebody help me?

1 Reply

AD Administrator Syncfusion Team May 10, 2004 01:29 PM

The column header row in a GridControl is row 0. So, you can set the text in the header cells with code like: this.gridControl1[0,2].Text = "Header";

Loader.
Live Chat Icon For mobile
Up arrow icon