Page Index Toggle Pages: [1] 2  Send TopicPrint
Hot Topic (More than 10 Replies) New column for ResourceView? (Read 15899 times)
leSasch
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 6
Joined: May 18th, 2010
New column for ResourceView?
Aug 16th, 2010 at 7:51am
Print Post  
Hi,

is it possible to add another column (just like the fixed first one on the very left side of the control) to the resource view?
If it possible, can you give a hint how to do it?

Thanksalot!
Sascha
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: New column for ResourceView?
Reply #1 - Aug 16th, 2010 at 9:07am
Print Post  
I am afraid this is currently not possible. Can you supply me with an image of what you want to achieve? I might be able to come up with a solution.

Regards,
Meppy
  
Back to top
 
IP Logged
 
springy
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 76
Joined: Jan 25th, 2010
Re: New column for ResourceView?
Reply #2 - Aug 16th, 2010 at 10:21am
Print Post  
Consider for example a 2-timeline (Day + 2-Hours) for 7 days resource view:

Focus is on the second (inner most) timeline header: The first (header-less) column contains the resource name (and an +/- expander) and then followed by columns 12*7=84 columns "00, 02, 04, 06, .. 22, 00, ..".

I now would like to have 2 missing things:
1. an header for the resource (=first column) at all
2. 1 or more additional columns between the first column and the 84 timeline columns to show resource-specific details. Ideally with an header-column click-event for providing sorting functionality against the detail column.
  

/\/\arkus.
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: New column for ResourceView?
Reply #3 - Aug 16th, 2010 at 10:31am
Print Post  
An option would be to make the resource row headers customizable through templates. This way, you can define your template to consist of two columns - one for the resource name and one for the resource-specific details. We have to check and see if we can implement this design for the next release of the component.

Regards,
Meppy
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: New column for ResourceView?
Reply #4 - Aug 18th, 2010 at 6:13am
Print Post  
We have made some modifications to the control to allow the resource headers in the Resource views to be customizable through templates. A sample, containing the new version of the control as well as illustrating how to replace the default resource header template can be downloaded from the link below:

https://mindfusion.eu/_samples/_sample_CustomResourceHeaders.zip

Let me know if this works for you. I will send you a licensed build.

Regards,
Meppy
  
Back to top
 
IP Logged
 
springy
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 76
Joined: Jan 25th, 2010
Re: New column for ResourceView?
Reply #5 - Aug 20th, 2010 at 8:03am
Print Post  
Thanx, that's already helpful.

Is it already possible to change the (top-)header of this custom drawn left-most header-column? So that I could label the 2 grid parts "resource | details" once?
  

/\/\arkus.
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: New column for ResourceView?
Reply #6 - Aug 20th, 2010 at 11:25am
Print Post  
This is not currently possible but we will think of a way to extend the control further to enable such customization. I will keep you updated.

Regards,
Meppy
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: New column for ResourceView?
Reply #7 - Aug 23rd, 2010 at 6:04am
Print Post  
This sample contains a new version of the control which enables customization of the portion of the timeline headers located above the resource headers.

https://mindfusion.eu/_samples/_sample_CustomResourceHeaders2.zip

Let me know if this helps.

Regards,
Meppy
  
Back to top
 
IP Logged
 
springy
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 76
Joined: Jan 25th, 2010
Re: New column for ResourceView?
Reply #8 - Aug 23rd, 2010 at 8:02am
Print Post  
On the right way Smiley

I tried to detect which header-lane (timeline) I'm on by changing Text="Male" into Text="{Binding Settings.Unit}"but both lines now display "Month" -- since in debugger the ResourceViewSettings-Bottom/Middle/Top-TimelineSettings show up as Day/Month/Year I assume there is some assignment problem for the TimelineHeader context?
  

/\/\arkus.
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: New column for ResourceView?
Reply #9 - Aug 23rd, 2010 at 8:22am
Print Post  
This is a bug. Here is a fixed version:

https://mindfusion.eu/_pln_trial/MindFusion.Scheduling.Wpf.2.2a.zip

Let me know if this works for you.

Regards,
Meppy
  
Back to top
 
IP Logged
 
springy
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 76
Joined: Jan 25th, 2010
Re: New column for ResourceView?
Reply #10 - Aug 23rd, 2010 at 9:51am
Print Post  
Better Smiley

All the Settings.HeaderStyle-Bindings are not working for TimelineHeader.Settings -- should I replace "Settings.HeaderStyle" with "Calendar.ResourceViewSettings.HeaderStyle" or should class TimelineHeader contain a reference to these settings?
  

/\/\arkus.
Back to top
 
IP Logged
 
springy
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 76
Joined: Jan 25th, 2010
Re: New column for ResourceView?
Reply #11 - Aug 23rd, 2010 at 9:55am
Print Post  
BTW: Margin="{Binding Settings.CalendarStyle.Background}" doesn't make much sense  Wink   (I know these typically copy-paste artifacts)
  

/\/\arkus.
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: New column for ResourceView?
Reply #12 - Aug 23rd, 2010 at 10:27am
Print Post  
Our developers seem to have messed up the sample in the haste. Replacing "Settings.HeaderStyle" with "Settings.CalendarStyle" seems to be more aprropriate if you want to use the style of the corresponding timeline. You can also remove the wrong margin and instead specify the following margin on the text blocks:

Code
Select All
Margin="{Binding Settings.CalendarStyle.ContentMargin}" 


Kind regards,
Meppy
  
Back to top
 
IP Logged
 
springy
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 76
Joined: Jan 25th, 2010
Re: New column for ResourceView?
Reply #13 - Sep 22nd, 2010 at 3:27pm
Print Post  
Is this latest version already available as non-trial version?
It looks like I have several different 2.2.0 versions and the download center nowhere shows release dates.
  

/\/\arkus.
Back to top
 
IP Logged
 
leSasch
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 6
Joined: May 18th, 2010
Re: New column for ResourceView?
Reply #14 - Sep 22nd, 2010 at 3:40pm
Print Post  
The today version on clientsarea.eu is the same as the one from 16th August this year.  Shocked
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 
Send TopicPrint