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

Static CellType in hierarchical grid

When you set a column's CellType to "Static" in a hierarchical grid, the contents of the cell are not drawn when the cell is active. Is this a bug, or am I doing it wrong? Using the ExpandGrid sample, add the following lines to the Form1_Load method: GridStyleInfo prodNameStyle = hlCategory_Products.InternalColumns["ProductName"].StyleInfo; prodNameStyle.CellType = "Static"; When the ProductName column is selected, no value is rendered.

1 Reply

Administrator February 3, 2003 11:04 PM UTC

> When you set a column's CellType to "Static" in a hierarchical grid, the contents of the cell are not drawn when the cell is active. Is this a bug, or am I doing it wrong? > > Using the ExpandGrid sample, add the following lines to the Form1_Load method: > > GridStyleInfo prodNameStyle = hlCategory_Products.InternalColumns["ProductName"].StyleInfo; > prodNameStyle.CellType = "Static"; > > When the ProductName column is selected, no value is rendered. This is a bug. We'll get that fixed for the next patch. Stefan
Loader.
Live Chat Icon For mobile
Up arrow icon