Browse by category:
|| | ||
How can I limit the drawing area of the grid in my view? I want to display a big title above and below the grid.
The grid has a function SetGridRect() that lets you limit the grid area to a certain rectangle within its window.
You can then override the Paint (or Draw) method of your grid window, draw the contents of your header and then let CGXGridWnd (or CGXGridView) draw its contents.
When scrolling, only the area specified with SetGridRect() will be scrolled.
Take a look at the Sorting tab in the gridapp sample.
|Objective Grid: Using covered cells as a recurring pattern||Objective Grid: What is the best way to remove all rows for the...|