Telerik Forums
KendoReact Forum
1 answer
65 views

this is my code:

<MultiSelect label='T-shirt size' data={sports} onChange={onChange} value={value} />

 

Is there any way to fix this issue?

Vessy
Telerik team
 answered on 28 Sep 2022
1 answer
79 views

Hi , does kendo react grid supports grouping functionality also with OData services apart from sorting, filtering and pagination?

 

Konstantin Dikov
Telerik team
 answered on 28 Sep 2022
1 answer
466 views

Is it possible to export your custom cells rendering for the excel export. 

For example 

    const Cell = (props: any) => {
            const endDate = moment(props?.endDateData).format("D MMMM YYYY hh:mm:ss")
            return (
                <td>
                 {endDate} 
                </td>
            )
      };
      
    const CustomCell = (props: any) => <Cell {...props} />;


   // The column in the grid
   <Column field="endDateData" title="End" cell={CustomCell} filter="date" />


So in this example the date has been reformatted, however when the excel download is done, it still has the default date format from the Kendo Grid. 

Is it possible to have custom cells correctly formatted in the download? 
Vessy
Telerik team
 answered on 27 Sep 2022
2 answers
58 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
95 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
655 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
93 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
292 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
488 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
281 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?