Telerik Forums
KendoReact Forum
1 answer
197 views

Hi,

 

I'm using the free trial to try the pdfexport of Kendo React (I'm using the export with component). I have problem with the export of accented characters: "é-è-à-ù" is exported as "Ø-Ł-à-ø" into the pdf.

The properties of the pdf indicates that the font used is Helvetica (so if I understand, the result is normal because this font don't support those characters).

I read this page: https://www.telerik.com/kendo-react-ui/components/drawing/pdf-output/embedded-fonts/ and I declare the @font-face for DejaVu (and the font-family). My page display the text with this font, but when I export the page in pdf, the font DejaVu is not used, and the properties of the pdf still indicate the font Helvetica. It's like if the export didn't take in account the font.

I don't know what I'm missing. Anyone can help me?

Stefan
Telerik team
 answered on 26 Jan 2022
1 answer
275 views

Is it possible to set a specific color for the events in the Scheduler? I mainly use the week-view but actually it doesn't matter which view. I just would like to be able to programmatically set the color of a Scheduler event entry (different color for every event). Is that possible? I saw the "Provide Custom Editor" example with the resources on this page:

https://www.telerik.com/kendo-react-ui/components/scheduler/customization/form/editor/

But here the colors are set based on a resource type. I don't have resources like this so I'd be interested if and how this could be done for each event independently.

 

Bernd
Top achievements
Rank 5
Bronze
Bronze
Bronze
 answered on 26 Jan 2022
1 answer
81 views

Hi.

We're using kendo-react-excel-export version 3.7

Exporting data to Excel works fine EXCEPT when there's only 1 column of data.

In the following code, there is data in sheets but after the code is invoked, that data is not in workbooks.

Is this a known issue?

If so, is there is a workaround?

The application has been running for sometime. It is possible the situation where there is just one column of data doesn't happen very often.

const workbooks = sheets.map(x => this[x.ref].workbookOptions());

Stefan
Telerik team
 answered on 25 Jan 2022
1 answer
81 views

Hi there,

I have a flex layout with a following configuration:
-----------
| 1 |    2    |
-----------
| 3 | Grid |
-----------

I'd like a Grid to have an auto height (depends on the free space) with scrollbar showing, but I cannot reach such setup. Here is example:
https://stackblitz.com/edit/react-kgfbgg-bt4gpa?file=app%2Fmain.jsx

Even though the Grid has a scrollbar there is also scrollbar on entire page I would like to get rid of.

Thanks in advance!

Stefan
Telerik team
 answered on 25 Jan 2022
1 answer
70 views

Hi

i have implemented detail grid using sample https://www.telerik.com/kendo-react-ui/components/grid/rows/hierarchy/

I have pagination implemented on child grid, when i change page of any one of child grid,  all the child grid page is getting their page #.  is there a way to achieve this?

Stefan
Telerik team
 answered on 25 Jan 2022
1 answer
30 views

Hi,

The Calendar example on https://www.telerik.com/kendo-react-ui/getting-started/ does not work. Also using the Grid does not work. Although, the Button component works fine.

Version of react and react-dom is 17.0.2. Version of the react components is 5.0.1. npm version 8.3.2

Error: 

react.development.js:1476 Uncaught Error: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.
    at resolveDispatcher (react.development.js:1476:1)
    at Object.useContext (react.development.js:1484:1)
    at usePropsContext (usePropsContext.js:4:1)
    at withPropsContext.js:20:1
    at renderWithHooks (react-dom.development.js:14985:1)
    at updateForwardRef (react-dom.development.js:17044:1)
    at beginWork (react-dom.development.js:19098:1)
    at HTMLUnknownElement.callCallback (react-dom.development.js:3945:1)
    at Object.invokeGuardedCallbackDev (react-dom.development.js:3994:1)
    at invokeGuardedCallback (react-dom.development.js:4056:1)
resolveDispatcher @ react.development.js:1476
useContext @ react.development.js:1484
usePropsContext @ usePropsContext.js:4
(anonymous) @ withPropsContext.js:20
renderWithHooks @ react-dom.development.js:14985
updateForwardRef @ react-dom.development.js:17044
beginWork @ react-dom.development.js:19098
callCallback @ react-dom.development.js:3945
invokeGuardedCallbackDev @ react-dom.development.js:3994
invokeGuardedCallback @ react-dom.development.js:4056
beginWork$1 @ react-dom.development.js:23964
performUnitOfWork @ react-dom.development.js:22776
workLoopSync @ react-dom.development.js:22707
renderRootSync @ react-dom.development.js:22670
performSyncWorkOnRoot @ react-dom.development.js:22293
scheduleUpdateOnFiber @ react-dom.development.js:21881
updateContainer @ react-dom.development.js:25482
(anonymous) @ react-dom.development.js:26021
unbatchedUpdates @ react-dom.development.js:22431
legacyRenderSubtreeIntoContainer @ react-dom.development.js:26020
render @ react-dom.development.js:26103
./src/index.js @ index.js:7
options.factory @ react refresh:6
__webpack_require__ @ bootstrap:24
(anonymous) @ startup:7
(anonymous) @ startup:7
react-dom.development.js:20085 The above error occurred in the <KendoReactCalendar> component:

    at http://localhost:3000/static/js/bundle.js:43201:95
    at App
Konstantin Dikov
Telerik team
 answered on 25 Jan 2022
1 answer
44 views

Hello.

I have a question. Is the 'more tools' functionality planned (button on the right with three dots and pop-up menu) in the near future, as we can see in the toolbar for JQUERY?

For example here: Resizing in jQuery ToolBar Widget Demo | Kendo UI for jQuery (telerik.com)

Well thank you.

Konstantin Dikov
Telerik team
 answered on 25 Jan 2022
1 answer
53 views

Is there a way to focus the autocomplete inputbox on pageload?

Input has "autofocus" props, is there anything for autocomplete? thanks!

Stefan
Telerik team
 answered on 24 Jan 2022
1 answer
91 views

Hello, I am currently working on a react project using Data Grids and I am getting the same error when I scroll down the page(not the data grid). I have 2 accordion displaying them and only happens when I open and scroll on the 2nd accordion. The error results to broken page if I continue scrolling. The error only happens if I open the 2nd accordion and then scroll.

I have searched solutions over the net and most of the answer is that it happens when a data returns a null value. The error only occurs when I scroll but the data is displayed correctly. I am using states to assign the data from my API and I am using that state as the data prop for my data grid. I don't think the state data is updated to null when I scroll since I am not using the prop onScroll in my data Grid.

Konstantin Dikov
Telerik team
 answered on 24 Jan 2022
1 answer
15.2K+ views

Hi, I have my license on

https://www.telerik.com/kendo-react-ui/my-license/

and trying to add KendoReact to an existing react application.  When following instructions and running "npm install --save @progress/kendo-licensing", I get this error: "Unable to authenticate, need: Basic realm="Artifactory Realm""

PS C:\Users\NBKVCNE\source> cd pcoe
PS C:\Users\NBKVCNE\source\pcoe> npm install --save @progress/kendo-licensing
npm ERR! code E401
npm ERR! Unable to authenticate, need: Basic realm="Artifactory Realm"

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\NBKVCNE\AppData\Roaming\npm-cache\_logs\2022-01-21T16_29_56_327Z-debug.log

Stefan
Telerik team
 answered on 24 Jan 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?