Event FormatCell is not called
ObjectListView - ListView on caffeine, guarana and steroids
Brought to you by:
grammarian
At first a big THANK You for making such an amazing Project and making it available for us all for free!
Unfortunately I have a little Problem that I cannot wrap my head around to fix it...
My problem is that for some reason the event FormatCell does not get called at all.
I want to make something like the missing field from
http://objectlistview.sourceforge.net/cs/recipes.html#how-can-i-put-an-image-or-some-text-over-the-top-of-a-row-or-cell
I've put my Test Project on github so I do not spam here with miles of Code.
https://github.com/Chaftalie/ObjectListView_Tets
I hope you can help me or at least give me the right direction to where to search for the solution.
~Chaftalie
By default,
ObjectListView
doesn't fireFormatCell
events. This is a performance optimization -- perhaps ill thought out, I admit :)To force ObjectListView to fire
FormatCell
events for all cells in the list, setUseCellFormatEvents
totrue
.In truth, I should do something more intelligent. If there are subscribers for
FormatCell
events, I should fire the events.Thanks for that quick and informative Answer!
Mabe you could add this to your Tutorial if its not already there and i just did not saw it...
~Chaftalie