Telerik Forums
KendoReact Forum
1 answer
119 views

Hi,

I wanted to disable the checkbox based on it's value. Is there a proper way of disabling it?

I'm using the sample code on this page https://www.telerik.com/kendo-react-ui/components/grid/selection/#toc-customizing-the-selection

Thanks!

Filip
Telerik team
 answered on 08 May 2022
1 answer
77 views

I have a requirement where I want to shift focus from one cell to another when a user hits the tab button.

Is there a built-in functionality in the Tree list OR any customization that needs to be done?

 

Many thanks

Filip
Telerik team
 answered on 05 May 2022
1 answer
72 views

Hello

Is it possible somehow to make a border between dates a bit bigger?

Because for not it is difficult to distinguish different dates in the timeline view

Filip
Telerik team
 answered on 04 May 2022
0 answers
175 views

I found an issue:

if an event is not visible if start date outside of working hours range and end date is outside of working hours:

the code was taken from scheduler demo:

const App = () => {
return (
<Scheduler data={sampleData} defaultDate={displayDate}>
<WeekView />
</Scheduler>
);
};

 

const baseData = [
{
TaskID: 119,
OwnerID: 3,
Title: 'Helpdesk weekly meeting',
Description: '',
StartTimezone: null,
Start: '2013-06-05T15:00:00.000Z',
End: '2013-06-06T14:00:00.000Z',
EndTimezone: null,
RecurrenceRule: 'FREQ=WEEKLY;BYDAY=WE',
RecurrenceID: null,
RecurrenceException: null,
isAllDay: false,
},
];
export const customModelFields = {
id: 'TaskID',
title: 'Title',
description: 'Description',
start: 'Start',
end: 'End',
recurrenceRule: 'RecurrenceRule',
recurrenceId: 'RecurrenceID',
recurrenceExceptions: 'RecurrenceException',
};

 

https://react-yxcnuz.stackblitz.io/

As you can see the start of event is outside of working hours and end date is outside of working hours for next date.

In case I see only working hours I do not see event at all

In case I enabled all day hours I do see event


Maxim
Top achievements
Rank 1
 asked on 04 May 2022
2 answers
609 views
In our react project we have used @progress/kendo-react-grid module and set content security policy as style-src 'self'.  
Kendo-react-grid 
has dependency on Kendo-react-popup and that package is using inline style which violates content security policy. What is the best solution to overcome this issue or is there any version available for the same package without inline style.

Have attached screen shot of that function and We are getting below console error:


util.js:97 Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-Y+wsDh+eE='), or a nonce ('nonce-...') is required to enable inline execution.

hasRelativeStackingContext @ util.js:97
../../node_modules/@progress/kendo-react-dateinputs/node_modules/@progress/kendo-react-popup/dist/es/util.js @ util.js:106
__webpack_require__ @ bootstrap:19
../../node_modules/@progress/kendo-react-dateinputs/node_modules/@progress/kendo-react-popup/dist/es/Popup.js @ Popup.js:1
__webpack_require__ @ bootstrap:19
../../node_modules/@progress/kendo-react-dateinputs/node_modules/@progress/kendo-react-popup/dist/es/main.js @ main.js:1
__webpack_require__ @ bootstrap:19
../../node_modules/@progress/kendo-react-dateinputs/dist/es/datepicker/DatePicker.js @ DatePicker.js:1
__webpack_require__ @ bootstrap:19
../../node_modules/@progress/kendo-react-dateinputs/dist/es/main.js @ main.js:1
__webpack_require__ @ bootstrap:19
../../node_modules/@progress/kendo-react-data-tools/dist/es/filteringCells/DateFilter.js @ DateFilter.js:1
__webpack_require__ @ bootstrap:19
../../node_modules/@progress/kendo-react-data-tools/dist/es/filteringCells/index.js @ index.js:1
__webpack_require__ @ bootstrap:19
../../node_modules/@progress/kendo-react-data-tools/dist/es/main.js @ main.js:1
__webpack_require__ @ bootstrap:19
../../node_modules/@progress/kendo-react-grid/dist/es/Grid.js @ Grid.js:1
__webpack_require__ @ bootstrap:19
../../node_modules/@progress/kendo-react-grid/dist/es/main.js
Adam
Top achievements
Rank 1
Iron
 answered on 04 May 2022
1 answer
76 views

Hello, i'm trying to use kendo react pdf for my chrome extension, im using :

"@progress/kendo-drawing": "^1.16.3",
"@progress/kendo-licensing": "^1.2.2",
"@progress/kendo-react-pdf": "^5.2.0",

When i try to export like this:

const PDFtester = () => {
const pdfExportComponent = React.useRef(null);

const exportPDFWithComponent = () => {
if (pdfExportComponent.current) {
pdfExportComponent.current.save();
}
};

return (
<div>
<div style={styles.switchButton}>
<div className="setting-button justify-content-center">
<input onClick={exportPDFWithComponent} id="check-light-dark" className="ml-2"
type="button" value="Download stats" style={styles.font4}/>
</div>
</div>
<div style={stylesHide.visuallyhidden}>
<PDFExport
ref={pdfExportComponent}
paperSize="A4"
fileName="Narval Report"
title="Narval Report"
>
<img src={ReactLogo} style={styles.img}/>
<h2 style={styles.font}>
Narval
</h2>
</PDFExport>
</div>
</div>
)
}

All the metadata of my saved document is weird characters: "þÿ"

i dont know why... so is u have a solution..

 

Filip
Telerik team
 answered on 03 May 2022
1 answer
76 views

I would like to be able to pass props other than view to custom toolbar components. Here is an example of a custom title tip I would like to add to the button. Any idea how I would do something like this?

https://stackblitz.com/edit/react-nmy4tg?file=app/backgroundColorTool.jsx

 

Shane
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 03 May 2022
1 answer
65 views

Is it possible to add the character counter or do some kind of character count with the React Editor?

 

Konstantin Dikov
Telerik team
 answered on 03 May 2022
1 answer
111 views
Hi there. When I use a mouse or trackpad to scroll the TimePicker, it scrolls too fast, is there a way to slow it down?
Konstantin Dikov
Telerik team
 answered on 02 May 2022
0 answers
84 views

when adding a hyperlink it is not showing cursor: pointer and the link is not opening when clicking on it. Happening here in this editor.

test

 

Shane
Top achievements
Rank 2
Iron
Iron
Iron
 asked on 29 Apr 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?