| Issue 570: | Can I add custom events? | |
| 1 person starred this issue and may be notified of changes. | Back to list |
I have integrated your fullcalendar script to my site. See the attach file of the screenshots of my project. Now if I click on any events are execute following code:
jQuery('#fullcalendar').fullCalendar({
aspectRatio: 2,
header: {
left: 'prev,next today',
center: 'title',
right: 'month,agendaWeek'
},
allDaySlot: false,
disableResizing: true,
editable: true,
events: function(start, end, callback) {
var url = todoUrl + '/timeline/ajax_timeline';
jQuery.post( url,
{
start: Math.round(start.getTime() / 1000),
end: Math.round(end.getTime() / 1000)
},
function(result) {
callback(result);
}, "json");
},
loading: function(bool) {
if (bool) jQuery('#loading').show();
else jQuery('#loading').hide();
}
});
Here ajax send the start date and end date to server and server send all tasks between 2 date.
Now I want to do more filter. See below has 3 fields for more filter.
Project: [ Dropdown ] :- This field is dynamic and every project has several tasks.
Person: [ Dropdown ] :- This field is also dynamic and every person has several tasks.
Tag [ Textbox ] :- This is not dynamic but if I submit with a data automatic will fetch all task.
Suppose If i change the data of project field or person field automatically will fetch all tasks by ajax and will display all task into the fullcalendar.
So please tell me how to perform above events with fullcalendar?
Aug 25, 2010
Project Member
#1
adamrs...@gmail.com
Status:
Done
|
|
| ► Sign in to add a comment |