telerik / kendo-react

Issue tracker - KendoReact http://www.telerik.com/kendo-react-ui/
https://kendo-react-teal.vercel.app
Other
212 stars 36 forks source link

feat(scheduler): add RowContent custom-render component property #524

Closed kspeyanski closed 3 years ago

kspeyanski commented 4 years ago

Implement a custom-render component property to allow customisation over the following Row inside the Timeline/Day views:

image

Similar to the jQuery Scheduler DateHeaderTemplalte.

Due to the high demand of this feature, we will prioritise the RowContent over other custom-render properties.

kspeyanski commented 3 years ago

We've added a dateHeaderCell prop to the WeekView ,WorkWeekView,DayViewandTimelineView. In additional [timeHeaderCell](https://www.telerik.com/kendo-react-ui/components/scheduler/api/TimelineViewProps/#toc-timeheadercell) is available for theTimelineView` to allow for more granular customization options.

colespencer1453 commented 2 years ago

@kspeyanski would it be possible to provide an example of how to use this prop to customize the view. The fields make sense I'm just not sure what to pass to the dateHeaderCell prop.

kspeyanski commented 2 years ago

Hello @colespencer1453

In the following stackblitz example, i've prepared a default configuration for customizing the dateHeaderCell of the DayView: https://stackblitz.com/edit/react-elugvf?file=app/main.tsx