Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed owner drawn cell element and added a more realistic demo
The GetCell call for the owner drawn element reused cells without changing the underlying custom element. This ment that as the user scrolled the table old cells were placed at the bottom on the grid. I modified the Get cell code to propogate the newly inserted OwnerDrawnElement down to the OwnerDrawnCellView. If you want to see the prefix behaviour try the demo without the fix. You will see the first row data pop up at the bottom (original demo only worked because the cell content was always the same)
- Loading branch information
1 parent
6fd43b1
commit 3ff3a6c
Showing
2 changed files
with
120 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters