Posts by GustavoR. • 476 points
9 posts
-
0
votes2
answers64
viewsA: Prevent the user from extending the event to other days
You can check on eventResize of the calendar if the starting day of the selected event is different from the final day of the selection, using the library Moment.js to catch the day. If both are on…
-
0
votes1
answer476
viewsA: Problems with Jquery Fullcalendar dates
I believe the solution is to use the format of Moment.js. $('#calendar').fullCalendar({ ... select: function(start, end, allDay) { ... $("#getStart").val(moment(start).format("YYYY-MM-DD HH:mm"));…
-
1
votes1
answer358
viewsA: Disable event scheduling by fullcalendar
To use only the week, you can do two things: 1º - Put on startup defaultView: 'agendaWeek', this will cause the calendar to initialize in agenda mode. 2º - Remove Month button from header header: {…
-
2
votes1
answer451
viewsA: Create Fullcalendar events filter
I had a question just like yours. I decided as follows: whenever the select is changed, you take the option value and use this value to filter from all the events you searched in ajax. An example…
-
15
votes3
answers19149
viewsA: Leaving Fullcalendar in the English language
Inside the folder you downloaded from fullcalendar, you have the lang subfolder that contains all languages supported by fullcalendarCopy the javascript pt-br.js and include in your project. Your…
-
6
votes4
answers4991
viewsA: Datatable does not order correctly
Complementing the @Ricardo response, the sorting problem in the dd/mm/yy format can be fixed with the plugin Ultimate date of datatable. I had a similar problem as can be seen in the picture. Even…
-
1
votes1
answer1246
viewsA: Print special characters in c that are in a.txt file with locale library. h
Did you notice if the file is on utf-8? I created a file here with your text and no need to include the library locale.h worked perfectly. Below is my test. #include<stdio.h> int main(){ FILE…
-
3
votes1
answer572
viewsA: dayClick Fullcalendar
I got the answer here. What happens is that I have to check, at dayClick time if the current view is 'Month' and make the prompt open if it is not. select: function(start, end) {…
-
5
votes1
answer572
viewsQ: dayClick Fullcalendar
You can avoid opening the prompt(modal) insertion of new event to the click on in a day on the monthView? I managed to make it go to the date clicked on agendaWeek but he keeps opening the prompt…