Skip to content
This repository was archived by the owner on Aug 1, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions src/TimeGrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -348,12 +348,19 @@ export default class TimeGrid extends Component {
})
}

handleShowMore = (events, date) => {
const { onDrillDown, getDrilldownView } = this.props
handleShowMore = (events, date, cell, slot) => {
const { onDrillDown, onShowMore, getDrilldownView, onDayMore, view } = this.props
//cancel any pending selections so only the event click goes through.
this.clearSelection();
this.clearSelection()

//Will this work
if (onDayMore) {
onDayMore(date, view);
return false;
}
notify(onDrillDown, [date, getDrilldownView(date) || views.DAY])

notify(onDrillDown, [date, getDrilldownView(date) || views.DAY]);
notify(onShowMore, [events, date, slot])
}

handleHeaderClick(date, view, e){
Expand Down