Morning team,
I just recently started using the KendoReact Scheduler widget. Im going through the docs for a second time now and I need a little clarity in the item/viewItem/editItem props. I kind of understand the reason for each one, but I need more clarity on when i should use or extend each one.
The viewitem, seems the easiest, its solely responsible for positioning events in the scheduler, but the item and editItem can both achieve the same results with a little work. My question is when should I be using one over the other? What use cases is each one designed/intended to solve?
The same questions can apply for slot vs editSlot.
Thanks in advance,
Grant
Hi Team,
Im looking at the SchedulerEditItem#Controlling-the-edit, I like the idea of preventing the drag, however I see you have had to hardcode the dates and times.
The date isnt that big of a deal, determining the working times seems to be though. I've tried to extract them from the views exposed by the useSchedulerViewsContext() hook, as well as the view default props, like WeekView.defaultProps, with no success. These values are available from the hook if you explicitly set them, but I cannot find how to access the defaults.
In my demo you will see what Im talking about. In the console Im printing a bunch of different props. Only the startTime is accessible because its set on the WeekView.
Youll see I've commented out a line thats trying to print the dateRange of the view exposed by the hook, this function crashes.
Thanks,
Grant
Hi,
I've got a Kendo React DropDownList (tested v2.8 and v3.2.0) and it's not disabling despite visually appearing disabled and having disabled={true} be passed to it. The dropdown list still appears, and new items can still be selected.
I think this is likely a bug
I am using Kendo React Chart to display a donut chart.
Is there a way to get a callback when the ChartTitle is clicked?
Thank you.
Raymond.
I have a date picker in kendo react grid, and when a user enter a invalid date(01/01/0000)
and press ENTER key, the data is saving.
we already have the validation in onblur function, and the error pop up will show while user enters the invalid date.
we need the solution as "The validation should happen similar as onblur function while user enter the invalid date and press enter key."
Could anyone help on this would be great.
<DatePicker
Hi
I'm trying to show dates in Persian format in my component.
I have installed all required cldr-... packages, but the output is just "Object".(a text reading as Object)
I tried this code sample https://stackblitz.com/run/?file=app%2Fmain.jsx which I found in your documents
but received an error :
calendar.patterns is undefined
Would appreciate your help.
Hi,
I am trying to add an Id to a MenuItem component for use in automated testing but I can't seem to get it to work. I have tried the approach mentioned in similar posts using ref but it doesn't seem to work with this component. I was wondering if anyone has any advice on how I could add an id here?
Hi there,
Is it possible to have landing pad of dragging row on treeview along with the animation of other rows moving to provide space. please see in the attached video.
Thanks
Hi,
When we are trying to enter decimal values all as zeros in the numeric input cell of grid, with scale 10 and precision 18 ,
i.e., if in the numeric column enter "5.00" in one row, "5.500" in another row.
Upon Save or Reload (some postback), the trailing zeros are removed, which shouldn't. and the values are shown as 5 , 5.5 respectively, instead of 5.00 and 5.500
Could you suggest any way to achieve this, or is there an example on this grid numeric cell, as this is working in textbox outside the grid.
Thanks,
Seetha
I need to overwrite the default escape key keymap. I want to call my own function to cancel the editor when the user presses escape. I have a keymap for handling the Ctrl+s key. Escape doesn't seem to work the same way. Any ideas?
keymap({
'Ctrl-s': (e) => {
if (onCtrlSave) {
let value = getHtml(e.doc);
onCtrlSave({
sender: 'kendoEditor',
value: value
});
}
return true;
}
}),