Issue 269: Cell element, width correction and other things
Status:  Done
Owner: ----
Closed:  Feb 2010
Reported by nicola.b...@gmail.com, Jan 5, 2010
Hi Adam,
I've introduced a new structure in agenda cell row.
Your structure was:
<tr><td><div>&nbsp;</div></td></tr>
where each row is a time slot, and inside "<div></div>" will be rendered 
day events.

Now I've introduced a more complex structure:
<tr><td>
  <div>
    <table class="fc-rowtable"><tr class="fc-rowrow"><td class="fc-rowcol">
(for each day)</td></tr></table>
  </div>
</td></tr>

As you can see now is possible to add, i.e., hover event for cell via css 
or any other control on single cell.

I've modified events (click) to match the new structure.

There's only a small changes in CSS in order to maintain the same height 
as timeslot.


Another issue report that an agenda view without scrollbar breaks header 
alignment, now this is correct.

In the files attached you can find source code modified from rel 1.4.3, 
any changes are commented with "// BC" or "// BC --  start" and "// BC  --
  end".

In the file attached are present other 2 improvements: dblClick and 
forceUpdateOnChange.
The first one is an event triggered on dblClick (i.e. on a calendar 
event), the second one force json reload on every change (day, month, 
view, etc).
Is the second one present in the last release via other parameter?

Thank in advance

Nicola


fullcalendar.css
9.6 KB   View   Download
fullcalendar.js
82.1 KB   View   Download
Jan 19, 2010
Project Member #1 adamrs...@gmail.com
Hey Nicola,
First off, thanks for your contributions.

I initially wanted to make each "slot" in agenda view its own element, so like you
said, you can do hover actions on it. i built it as one huge table. however, it
really bogged the browser down, there were too many elements. i'm running your
fullcalendar.js right now, and on my computer at least, it suffers from the same
problem, a two second lag when switching to agendaWeek view. i'm not sure the gain of
having a distinct element for hovering outweighs this cost. in the future however, i
could provide something through the api which allows one to "simulate" a hover by
placing a div over the area. this is what happens when drag&drop happens in month
view, and the "all-day" slot in agenda views. and i could expose it. if more people
ask for it, then i will do it.

i responded to the dblclick modifications here:
https://code.google.com/p/fullcalendar/issues/detail?id=231

i will hopefully get to  issue #235  soon (the scrollbars in agenda view)

the forceUpdateOnChange modifications look good, but i need to take a second look at
them before including them in a release. (will post the final outcome here:
https://code.google.com/p/fullcalendar/issues/detail?id=240)

thank you very much nicola
Jan 19, 2010
Project Member #2 adamrs...@gmail.com
 Issue 270  has been merged into this issue.
Feb 6, 2010
Project Member #3 adamrs...@gmail.com
i everything has been addressed either here or in other issues. closing
Status: Done