Software Design
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreSoftware Design

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 18th, 2004, 11:13 AM
rshands rshands is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 5 rshands User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Grid Manipulation - How to maintain state

Hello,

I have a grid with columns that represent each day of the week, and rows that represent each hour of the day.

There is also a top-leftmost cell that when selected activates every cell or deactivates every cell.

The problem is that the developer insists on using the first row and column to maintain the state. Because of this the functionality of the grid is different when you select the first time=00:00 or the first day=Sunday.

The attached image does a good job of explaining things. Please display the image using 100% viewability or the text will be very small.

Is there a way to design this grid so that the functionality works the same for each row and column?

Thank you
Attached Images
File Type: jpg HourlySched-Mon-Sat..jpg (130.3 KB, 152 views)
File Type: jpg Sunday.jpg (86.8 KB, 196 views)

Reply With Quote
  #2  
Old November 18th, 2004, 03:23 PM
rshands rshands is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 5 rshands User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Is this too difficult?

I'm just wondering if the fact that no one has responded means this is difficult or maybe I didn't give enough detail? This issue isn't causing me any problems but I can't figure if there is an easy fix or not.

Reply With Quote
  #3  
Old November 19th, 2004, 12:34 PM
Lux Perpetua Lux Perpetua is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Feb 2004
Location: San Francisco Bay
Posts: 1,475 Lux Perpetua User rank is Major (30000 - 40000 Reputation Level)Lux Perpetua User rank is Major (30000 - 40000 Reputation Level)Lux Perpetua User rank is Major (30000 - 40000 Reputation Level)Lux Perpetua User rank is Major (30000 - 40000 Reputation Level)Lux Perpetua User rank is Major (30000 - 40000 Reputation Level)Lux Perpetua User rank is Major (30000 - 40000 Reputation Level)Lux Perpetua User rank is Major (30000 - 40000 Reputation Level)Lux Perpetua User rank is Major (30000 - 40000 Reputation Level)Lux Perpetua User rank is Major (30000 - 40000 Reputation Level)Lux Perpetua User rank is Major (30000 - 40000 Reputation Level) 
Time spent in forums: 3 Weeks 6 Days 21 m 14 sec
Reputation Power: 377
Well,

1) This is kind of a slow forum.
2) This appears to be a very specific bug in your program, not a general design/algorithm issue.
3) Yeah, you didn't explain it very well. Honestly, I can make neither heads nor tails of your post.
Quote:
Is there a way to design this grid so that the functionality works the same for each row and column?
Well...why the heck not? Can't you just do it? I mean, it seems a lot easier than having it do something different.
Quote:
The problem is that the developer insists on using the first row and column to maintain the state.
I feel like this is supposed to address my above concern, but it really isn't clear at all what the conflict is.

Reply With Quote
  #4  
Old November 19th, 2004, 03:12 PM
rshands rshands is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 5 rshands User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
thanks for your reply.

i should have just stated the situation, which is that I demonstrate an application which uses the grid shown in the image i attached here.

very typically when i'm showing the grid a user will ask me why it is that the Sunday column and the 00:00 column behave different. hopefully, the images show the difference in behavior.

when i asked the developer about this he replied:
"The current design of the grid uses the first row's and column's state to determine what to toggle the rest of the button's states to. " The developer then closed the issue ticket and asked that I not re-open it unless I have suggestions as to how to maintain the state.

That's went I looked on the internet and found this message board.

Reply With Quote
  #5  
Old November 19th, 2004, 03:15 PM
rshands rshands is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 5 rshands User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
[QUOTE=rshands]thanks for your reply.

btw, when i said this: "hopefully, the images show the difference in behavior."

i was referring to the images attached to this thread


Reply With Quote
  #6  
Old November 29th, 2004, 10:05 PM
shadow4 shadow4 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Location: MA, USA
Posts: 1 shadow4 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
2 solutions to your grid problem

I have two suggestions that will solve your problem.

1) Add an extra row and column to be used strictly for the State for that row and column. Using the first row and column was not the best idea. I would think that you'ld be able to make the State row and column invisible, and if not, then put the State column at the far right and the State row at the bottom, and resize the window so that they're not visible during your presentations.

2) Use an attribute of the Day and Hour buttons themselves to maintain the state of the row/column, such as upper/lowercase text, normal/bold, etc. For example, if the user clicks Monday, then toggle the font color on the Monday button, or make it bold, or make it italic, or underline it to indicate that the column or row is selected. This may also provide a more visually appealing presentation at the same time. Just remember to toggle all of the buttons states appropriately when the ALL button is clicked.

Good luck, and I hope one of these solutions works for you!

Reply With Quote
  #7  
Old December 2nd, 2004, 04:45 PM
rshands rshands is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 5 rshands User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thank You Shadow 4


Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreSoftware Design > Grid Manipulation - How to maintain state


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT