TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
rasool shaik
NA
49
1.8k
can you help any one, i need tooltip in full calendar in angular
Aug 3 2020 10:23 PM
Data binding correctly but total data not display in the full calendar
this my code::
ngOnInit() {
this.model = [];
const todayDate = new Date();
const todayDateStr = todayDate.getFullYear() + '-'
+ ('0' + (todayDate.getMonth() + 1)).slice(-2) + '-'
+ ('0' + (todayDate.getDate())).slice(-2);
this.fullcalendarOptions = {
plugins: [dayGridPlugin, timeGridPlugin, interactionPlugin],
defaultDate: todayDateStr,
header: {
left: 'prev,next',
center: 'title',
right: 'dayGridMonth,timeGridWeek,timeGridDay,listWeek',
},
};
this.taskcalendarevents.ByUsertasksEvents(this.PackageName, this.TargetEndDate, this.Title)
.then(selectedValue => {
debugger
var userEvents = [{ title: '', date: '' }];
var localDate;
var eventDate;
var jasonItem;
if (selectedValue !== null && selectedValue !== 0) {
for (const items of selectedValue) {
localDate = new Date(items.TargetEndDate);
eventDate = localDate.getFullYear() + '-' + ('0' + (localDate.getMonth() + 1)).slice(-2) + '-' + ('0' + (localDate.getDate())).slice(-2);
jasonItem = { title: items.Title, date: eventDate, color: eventDate > todayDateStr ? "" : "red" }
userEvents.push(jasonItem);
}
this.jsondataFullData = userEvents;
}
}).catch((ex) => {
console.log(ex);
Utilities.geminiDebug(ex);
});
}
Reply
Answers (
3
)
How to resolve this issue when email is not verified?
how to install the crystal report in asp.net mvc