Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic How to draw custom collapsable row header? (Read 1064 times)
Peter
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 24
Joined: Nov 14th, 2005
How to draw custom collapsable row header?
Feb 25th, 2009 at 8:51pm
Print Post  
I have a table with header rows which I would like to draw myself. Is there a way to do so without custom drawing all cells? The header rows are drawn with a +/- icon on the left side which is not desirable so I would like to get rid of the +/- icon. However, simply setting .Header property to false causes the text to be displayed too close to the table's left border.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: How to draw custom collapsable row header?
Reply #1 - Feb 26th, 2009 at 10:21am
Print Post  
You could set CellCustomDraw = Additional, and when DrawCell is raised, call FillRectangle to hide what's rendered by default if the cell is from a header row and then draw the header as you need it.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint