Telerik Forums
KendoReact Forum
1 answer
109 views

Hi.

I have created a grid with editing as described in your example here:

https://www.telerik.com/kendo-react-ui/components/grid/editing/editing-custom/

The issue I have now is that I also have row selection enabled for the grid with a checkbox as described in this example:

https://www.telerik.com/kendo-react-ui/components/grid/selection/

My issue is now, that when the edit dialog opens for any field, and I click in a field to edit the value, the checkbox for the row selection gets activated. So the question is: How can avoid to activate the row selection when a row is in Edit mode?

 

Bernd
Top achievements
Rank 5
Bronze
Bronze
Bronze
 answered on 11 May 2022
1 answer
186 views

I have a requirement where when I am editing in the cell and hit enter the cell focus should be shifted to the down cell just like the MS Excel does.

 

Does Tree list support it?

 

Many thanks

Konstantin Dikov
Telerik team
 answered on 11 May 2022
1 answer
285 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
141 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
110 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
252 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
794 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
132 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
128 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
136 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?