Telerik Forums
KendoReact Forum
1 answer
54 views

I'm migrating KendoUI for jQuery to React. In jQuery version of Kendo Grid was possible to set "values" property to columns with "id" values.

In React version of the kendo grid, the "values" property for the GridColumn component is not available. How can I make the same like in jQuery version?

 

Thanks a lot for an each help.

Wissam
Telerik team
 answered on 10 Aug 2022
1 answer
3 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
0 answers
3 views

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

 

Aiswarya
Top achievements
Rank 1
 updated question on 26 Sep 2022
2 answers
3 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 2
Iron
Iron
Veteran
 answered on 26 Sep 2022
1 answer
3 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
1 answer
2 views

Hello,

 

ist it possibel to set up the DatePicker so that the week starts wit MONDAY and not Sunday?

Thank you, Matjaz Reberc

Kiril
Telerik team
 answered on 23 Sep 2022
2 answers
216 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
4 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
16 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
3 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
Top users last month
Chris
Top achievements
Rank 2
Iron
Johnny
Top achievements
Rank 1
Iron
Iron
Iron
Hakob
Top achievements
Rank 2
Iron
Simos Sigma
Top achievements
Rank 2
Iron
Iron
Iron
lahiru
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?