In response to a comment on the last post I have modified the look of the grid to the following.

You can now override the default appearance by updating the cell style of an column. This is change the appearance of all the cells in the column. Here I have changed the BackColor, ForeColor and Font.

You can also alter the appearance of individual cells by updating its cell style.

As with the standard DataGridView you can define errors at the cell and row level.

Posted in Krypton Toolkit | 3 Comments »
Wednesday, July 4th, 2007
Finally I am working on the much requested Krypton version of the DataGridView control. The new control derives from the existing standard windows forms version and is called KryptonDataGridView.
The idea is not to add or remove any functionality but merely to modify the default painting so it conforms to the Krypton look and feel. So far I have modified the painting so that it draws using colors pulled in from the palette. Here you can see the three Office 2007 color schemes selected for a simple grid.



It also draws appropriately for the System and Office2003 palettes as well.


Unlike the standard grid it draws differently when disabled.

Next up? Now we need to modify the drawing so that if you define your own font or colors in the cell styles it honors them. At the moment it completely ignores anything set in the cell style instances which is inadequate. No doubt programmers will need to override the text color per cell and per column in order to show feedback on cell data.
Posted in Krypton Toolkit | 5 Comments »