How do we show tooltip on hovering the datepicker dates.
Tooltip showing on hover dates in datepicker
Hi @webgunti
I can recommend adding a DIV element and controlling its CSS visibility
parameter and top/left
via afterOnCellMouseOver
and afterOnCellMouseOut
.
- afterOnCellMouseOver - https://handsontable.com/docs/react-data-grid/api/hooks/#afteroncellmouseover
- afterOnCellMouseOut - https://handsontable.com/docs/react-data-grid/api/hooks/#afteroncellmouseout
How do i highlight only some dates on date picker
Thank you
By some dates
do you mean that for example if user picks 9th of May you’d like to show ‘Tomorrow’ and if they pick 7th of May the DIV tooltip should show ‘Yesterday’ or you want to show one tooltip for all of the dates?
Not the tooltip, assume that we open date picker and seeing this month calender, i want to highlight only the dates between 15 -20 of this month
It seems that my colleague already replied to that question here Adding minDate,MaxDate for date picker with the configuration of
disableDayFn(date) {
// Disable Sunday and Saturday
return date.getDay() === 0 || date.getDay() === 6;
},
minDate: new Date(2000, 0, 1),
maxDate: new Date(2009, 11, 31),