Best way to render a grid?
Best way to render a grid?
- Subject: Best way to render a grid?
- From: Pascal Robert <email@hidden>
- Date: Thu, 13 Dec 2012 14:09:53 -0500
Hi guys,
I'm working on a meeting room reservation system and I need to display a grid with availability (just like a free/busy lookup in iCal). So the header row is a list of days, with a sub row for each hour of the day. Each subsequent row is a room, and the intersection between a room and the day.
So I'm looking at what is the best way to generate the grid. I can go the "old way" of generating the HTML in code and just display it, somewhat like EGWrapper does. But I don't think it's the best way to do it…
My main concern is how to fill out the intersection to check if the room is taken or not. I have the code to do it, but the code requires that I send the time period (day and hour) + the room name, and I have no idea on how I can construct the table or divs so that when I build the intersection, I know which room and period it is.
Opinions? Ideas?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden