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

rowcount and colcount

if i want 4 columns , what do i say columncount =3 or 4? I am finding it difficult to handle the leftmose column, it takes the contents but the merge doenot work. in the 2nd column same setting work so what is happening? i am using the ordinary gridcontrol.

3 Replies

AD Administrator Syncfusion Team September 26, 2004 07:16 PM

If you want data in 4 ''standard'' (read non header) columns, then you need to set the ColCount = 4. You can then hide the header column, grid.Cols.Hidden[0] = true;.


MN Mahesh Naik September 27, 2004 01:47 AM

I will keep this in mind. instead of hiding them cant I make them behave like inner rows and columns. In particular in column 0 i want a merge effect as i am displaying The question number there.the second column has the question text [multiple lines].


AD Administrator Syncfusion Team September 27, 2004 09:39 AM

No. Headers play a special role in selections, scrolling etc. If you do not want them, you need to hide them.

Loader.
Live Chat Icon For mobile
Up arrow icon