Hi,
We are redeveloping a VB6 application in VB.NET and have replaced the Component One controls used previously with Infragistics.
However, in the old application we had a grid which displayed values from a two dimensional array showing start and end rates similar to the distance charts found in a road atlas.
The VB6 control looks like this and I am trying to recreate the first column "look and feel" that effectively makes it a "row header".
I am trying to find a way to emulate the behaviour using an UltraGrid but without success. Could someone please point me in the right direction, either the properties I need to set or the control I should be using?
Thanks.
It's been a while since I used the ActiveX grid. But I am sure it does not have a single property to make a column look like a header. What you will most likely have to do is using the appearance on the column to set the BackColor and ForeColor and maybe the Font settings so that it uses the same colors as the headers.And you probably need to set the BorderStyle, also. But I know in the DotNet grid, the border style doesn't work very well in a case like this, because a cell does not draw all 4 sides of it's own border. It draws only 1 or 2 sides and relies on the adjacest cells to draw the others. I'm pretty sure the UltraGrid is the same way. So you might have to use a DrawFilter to get the borders right in a case like this.
Hi Mike,
Thanks for the reply (and sorry for my delay getting back to you).
I think there is some confusion as I'm not talking about the ActiveX grid but the NetAdvantage® for .NET 2008 Vol 2 (CLR 2.0) UltraGrid. I don't know why this post was moved to this retired products forum but I didn't put it here.
Anyway, having looked further into the UltraGrid capabilities I think the answer still applies.
Thanks anyway,
Andy.