Hi Team,
As my title says, Im trying to change style props of a drag/resize item, specifically the background color. My use case is that when an event is dragged or resized into an invalid time slot, I want the drag/resize item to become red.
After messing around with the SchedulerItem and SchedulerEditItem, the best I can do is to change both the SchedulerItem and DragItem colors if the slot is invalid, see my CustomItem, but I only want the dragItem to change. I tried setting the style on the dragItem in both the ScheduleItem and ScheduleEditItem with no success.
I see in the docs there is a SchedulerDrag component, but I cannot find how/where its used.
Side Note: If I log the output of `useSchedulerEditItemDragItemContext()` it logs an array with 3 elements, [dragItem, setDragItem, ???] what the second function, because I cannot it an any docs
Thanks,
Grant
Hello.
How to set the step in the slider so that the steps work even with drag and drop. When you click on the button, the values increase by [step], but not when you drag and drop.
Thanks.
https://stackblitz.com/edit/react-bbc32g?file=app%2Fmain.tsx
I am in the process of upgrading React to v18 and KendoReact to v5 latest versions. The only issue I am having is with the PanelBar. We were using PanelBarUtils.mapItemsToComponents(items) and passing this to the children prop of the PanelBar. The current Kendo documentation says this is still valid, however it now results in a TypeScript error:
Type 'PanelBarItem[]' is not assignable to type 'ReactNode'.
Type 'PanelBarItem[]' is not assignable to type 'ReactFragment'.
The types returned by '[Symbol.iterator]().next(...)' are incompatible between these types.
Type 'IteratorResult<PanelBarItem, any>' is not assignable to type 'IteratorResult<ReactNode, any>'.
Type 'IteratorYieldResult<PanelBarItem>' is not assignable to type 'IteratorResult<ReactNode, any>'.
Type 'IteratorYieldResult<PanelBarItem>' is not assignable to type 'IteratorYieldResult<ReactNode>'.
Type 'PanelBarItem' is not assignable to type 'ReactNode'.
Type 'PanelBarItem' is missing the following properties from type 'ReactPortal': key, children, typets(2322)
This can be observed in the demos for the PanelBar on the Kendo website, simply open the first Customisation demo in either CodeSandBox or StackBlitz and add @types/react as a dependency:
https://www.telerik.com/kendo-react-ui/components/layout/panelbar/customization/#toc-collections
Hello.
I am wondering if it is possible to have two series on a chart that are of different time frames.
For example, I have two data sets.
1. Has 365 data points (1 for each day)
2. Has 12 data points (1 for each month)
They are both over the same year
When I plot the chart, series 2 only aligns with the first 12 points on series 1. So it looks like 12 days instead of 12 months.
NOTE: I am able to use multiple ValueAxisItems to scale the Y values correctly for each, but the x axis does not scale correctly,
Hope this makes sense, Below is a visual representation.
Expected
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | |
Actual
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | |
Hi,
is there a way to align the content of a Button? The content seems to be always horizontally centered but I need it to be left/start aligned.
Best regard,
Thomas
Hi, Subject says it all.
Why not support this functionality?
I want to use server date when [TODAY] button is clicked,