Page Index Toggle Pages: [1] 2 3  Send TopicPrint
Very Hot Topic (More than 25 Replies) Week Columns in Horizontal Day Range (Read 19015 times)
kevin
YaBB Newbies
*
Offline



Posts: 4
Location: GA
Joined: Oct 12th, 2007
Week Columns in Horizontal Day Range
Oct 12th, 2007 at 4:26pm
Print Post  
We are looking to create a view similar to the horizontal day range but have weekly columns instead of daily columns. Can anyone offer any advice on if this is possible and how to do it?

Thanks,
Kevin
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Week Columns in Horizontal Day Range
Reply #1 - Oct 15th, 2007 at 4:55am
Print Post  
As far as I understand, you want to have a view similar to the day range view, in which each cell represents a whole week (instead of a single day). Is that correct? If I am missing something out, I will appreciate if you can post a drawing with what you want to achieve.

Meppy
  
Back to top
 
IP Logged
 
kevin
YaBB Newbies
*
Offline



Posts: 4
Location: GA
Joined: Oct 12th, 2007
Re: Week Columns in Horizontal Day Range
Reply #2 - Oct 15th, 2007 at 12:36pm
Print Post  
Here's a visio drawing of what we are trying to accomplish.

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


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Week Columns in Horizontal Day Range
Reply #3 - Oct 16th, 2007 at 4:48am
Print Post  
Unfortunately this view is not currently available in Planner.NET. However, I will contact the development team and see if they can implement this view for the next release. I will post a link on this forum to an updated version when it is ready.

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


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Week Columns in Horizontal Day Range
Reply #4 - Oct 24th, 2007 at 5:19am
Print Post  
Here is a sample application that demonstrates the new List view:

https://mindfusion.org/_samples/_sample_ListView.zip

The sample looks like this:


The List view now replaces the old DayRange view by allowing users to display time intervals in more flexible resolution, not only days. The Calendar.dll version provided with the example is preliminary and has not yet been thoroughly tested. If you find any bugs, I will appreciate if you let me know about them.

Meppy
  
Back to top
 
IP Logged
 
kevin
YaBB Newbies
*
Offline



Posts: 4
Location: GA
Joined: Oct 12th, 2007
Re: Week Columns in Horizontal Day Range
Reply #5 - Oct 24th, 2007 at 10:57am
Print Post  
Thanks for the update.  This looks really great.  I'll be sure to let you know if we come across any bugs.

Kevin
  
Back to top
 
IP Logged
 
kevin
YaBB Newbies
*
Offline



Posts: 4
Location: GA
Joined: Oct 12th, 2007
Re: Week Columns in Horizontal Day Range
Reply #6 - Nov 12th, 2007 at 5:52pm
Print Post  
Meppy, this view is working very well for us.  Do you have any idea when this will be officially released and out of beta?
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Week Columns in Horizontal Day Range
Reply #7 - Nov 13th, 2007 at 6:33am
Print Post  
We have already released the new version. You can find more information here:

http://mindfusion.org/cgi/Forum/YaBB.pl?board=calnet_news;action=display;num=119...

If you are registered, you will receive your upgrade shortly.

Meppy
  
Back to top
 
IP Logged
 
salewis79
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 20
Joined: Apr 10th, 2007
Re: Week Columns in Horizontal Day Range
Reply #8 - Nov 13th, 2007 at 1:32pm
Print Post  
I work with Kevin and now I need code to move an item in the Week List view up and down in the same week. Also when I drop an item on the week list view, the item stays where the user drops the item. The view currently place new items at the bottom of the week List (10/17/2008) and not in the middle where I dropped it. 

Can you provide some code that can help with this?

Thanks,
Stanley
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Week Columns in Horizontal Day Range
Reply #9 - Nov 13th, 2007 at 1:46pm
Print Post  
The order of the items within the same week is determined by their priority (as specified in their Priority property). Items with higher priority are displayed first (that is, on top). Items with lower priority are displayed below them. In order to insert an item in the middle, you have to assign the appropriate priority to it and adjust the priorities of all items that are supposed to move downwards. The hard part would be to determine the new priority of the item. If you drop the item over another item, you can obtain a reference to the target item by using the Calendar.GetItemAt method and passing to it the point representing the current cursor position. However, if you drop the item in the empty space between items there is no easy way to determine between which two items the dragged item has been dropped.

Meppy
  
Back to top
 
IP Logged
 
salewis79
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 20
Joined: Apr 10th, 2007
Re: Week Columns in Horizontal Day Range
Reply #10 - Nov 13th, 2007 at 3:05pm
Print Post  
There is a bug with the Vertical Scrollbar.  I enabled the Vertical Scrollbar but it does not scroll to the additional items below in the view. 

VScrollerVisible : Enabled

Tested with the following versions:
4.2.2.30381
4.3.0.24464

Stanley
  
Back to top
 
IP Logged
 
salewis79
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 20
Joined: Apr 10th, 2007
Re: Week Columns in Horizontal Day Range
Reply #11 - Nov 13th, 2007 at 6:51pm
Print Post  
Which event would I use to move a item in the same week?  I tried calendar_DragOver , calendar_DragDrop and it only happens when I drag from another control.   

Maybe you can include a code sample of moving a item in the same week

Stanley
  
Back to top
 
IP Logged
 
salewis79
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 20
Joined: Apr 10th, 2007
Re: Week Columns in Horizontal Day Range
Reply #12 - Nov 13th, 2007 at 7:46pm
Print Post  
Also how can I get access to all the items within Week1 (Mon 10/27/2008 ) ?

Stanley
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Week Columns in Horizontal Day Range
Reply #13 - Nov 14th, 2007 at 5:45am
Print Post  
Quote:
There is a bug with the Vertical Scrollbar.  I enabled the Vertical Scrollbar but it does not scroll to the additional items below in the view.

The vertical scroll bar does not work in Horizontal list view. The items that are not visible (due to the lack of space) can only be shown if the control is resized or the item size is made smaller.

Quote:
Which event would I use to move a item in the same week?

What exactly are you trying to achieve? If you want to move an existing item programmatically, you have to adjust its StartTime and EndTime properties.

Quote:
Also how can I get access to all the items within Week1 (Mon 10/27/2008 ) ?

You can do this by using one of the Schedule.GetAllItems overloads.

Meppy
  
Back to top
 
IP Logged
 
salewis79
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 20
Joined: Apr 10th, 2007
Re: Week Columns in Horizontal Day Range
Reply #14 - Nov 14th, 2007 at 1:34pm
Print Post  
Overall Goal:  We want to use this view to handle our schedules.  So I need it be able to select and drag an existing items to any week and the item stay in the place I dropped it. 

Scenarios:

-- Move an item up and down on an existing week
-- Move an item to another week and stay where I drop it
-- Dragging a item from another control and stay where I drop it
-- Copy and paste items and stay where I drop it

Since this control uses a combining of start date and priority I need to code to handle the priority number new / updating existing so the control will behave in this way. 

Some simple code would be helpful

Thanks so much for your help,
Stanley

  
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 3 
Send TopicPrint