|| | |||Browse by category|
Can I write my own cell types?
Yes. In Objective Grid every cell is derived from the CGXControl class. By deriving from CGXControl or existing cell types like CGXEditControl, you can implement your own custom cell types and use them in the grid.
CGXControl declares many virtual functions that you can override. For example, the Draw() method is called to draw the cell contents. LButtonDown() is called when the user clicks into the cell.
See the class reference for CGXControl and the User's Guide section Advanced Techniques for more details on how to implement your own cell types.