Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Change background color in a lane of resource view (Read 4702 times)
tavo
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 15
Joined: Dec 3rd, 2011
Change background color in a lane of resource view
Dec 28th, 2011 at 9:02am
Print Post  
Hi, is possible change the background color in a particular lane of resource view in an specified period.

I need to show to application users that in the period with different color the appointments have a different meaning
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Change background color in a lane of resource view
Reply #1 - Dec 28th, 2011 at 9:32am
Print Post  
Hi,

You can do this using custom cell templates. Have a look at this topic. It explains in more details how to customize the Resource view. You can also download this sample, which illustrates how to use custom cell presenter templates.

Regards,
Meppy
  
Back to top
 
IP Logged
 
tavo
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 15
Joined: Dec 3rd, 2011
Re: Change background color in a lane of resource view
Reply #2 - Dec 28th, 2011 at 10:21am
Print Post  
good sample but i don't understand how can I work only on the affected resources.
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Change background color in a lane of resource view
Reply #3 - Dec 28th, 2011 at 11:03am
Print Post  
You can check the e.CellPresenter.Resource object in the CellPresenterCreated event handler and proceed setting the custom style only if this resource is the one you are interested in.

I hope this helps.

Regards,
Meppy
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint