Telerik Forums
KendoReact Forum
2 answers
63 views

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

Grant
Top achievements
Rank 3
Iron
Iron
Iron
 answered on 26 Sep 2022
1 answer
100 views

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

Konstantin Dikov
Telerik team
 answered on 25 Sep 2022
2 answers
668 views

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

Sivaram
Top achievements
Rank 1
Iron
 updated answer on 21 Sep 2022
1 answer
98 views

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.

 

Vessy
Telerik team
 answered on 20 Sep 2022
1 answer
295 views

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
                    calendar={CustomDateCalendar}
                    id='dtDOB'
                    name='DOB'
                    style={{ height: "36px" }}
                    format='MM/dd/yyyy'
                    formatPlaceholder={{ year: "YYYY", month: "MM", day: "DD" }}
                    value={props.dataItem.dob}
                    focusedDate={new Date()}
                    onChange={this.handleDOBChange.bind(this, props)}
                    onBlur={this.onBlurDOBDateValidation.bind(props.dataItem, props, this)}
                    //validate={this.dobDateValidation(props.dataItem.dob)}
                    valueField='value'
                    textField='text'
                    
                />
Konstantin Dikov
Telerik team
 answered on 20 Sep 2022
0 answers
516 views

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 :

Error in /turbo_modules/@progress/kendo-intl@3.1.1/dist/npm/main.js (2361:13)

calendar.patterns is undefined

Would appreciate your help.

Farouq
Top achievements
Rank 1
 asked on 19 Sep 2022
1 answer
289 views

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?

Filip
Telerik team
 answered on 12 Sep 2022
1 answer
86 views

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

Filip
Telerik team
 answered on 08 Sep 2022
1 answer
177 views

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

Konstantin Dikov
Telerik team
 answered on 08 Sep 2022
1 answer
120 views

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;
}
}),
Konstantin Dikov
Telerik team
 answered on 08 Sep 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?