Telerik Forums
KendoReact Forum
6 answers
417 views

Hello,

I dont know what this is or how can I fix it.

Uncaught TypeError: deepEqual is not a function
    at reconcileConfiguration (eval at hmrApply (..\node_modules\lodash-es\_objectToString.js:22), <anonymous>:27:10)
    at Grid.componentWillReceiveProps (eval at hmrApply (..\node_modules\lodash-es\_objectToString.js:22), <anonymous>:83:42)
    at callComponentWillReceiveProps (..\node_modules\lodash\lodash.js:6411)
    at updateClassInstance (..\node_modules\lodash\lodash.js:6603)
    at updateClassComponent (..\node_modules\lodash\lodash.js:8035)
    at beginWork (..\node_modules\lodash\lodash.js:8706)
    at performUnitOfWork (..\node_modules\lodash\lodash.js:10742)
    at workLoop (..\node_modules\lodash\lodash.js:10781)
    at HTMLUnknownElement.callCallback (..\..\..\..\..\Users\x\AppData\Roaming\npm\node_modules\parcel-bundler\node_modules\buffer\index.js:1790)
    at Object.invokeGuardedCallbackDev (..\..\..\..\..\Users\x\AppData\Roaming\npm\node_modules\parcel-bundler\node_modules\buffer\index.js:1790)

I don't know when it happen or why.
I tried to replicate the bug , but without any success.

It happen when render the Grid component of "@progress/kendo-grid-react-wrapper"

The error make reference to lodash, but I don't us it in the GridContainer component.

I have no clue what is happening.

Regards,
Vincent.

 

Stevan
Top achievements
Rank 1
Iron
Iron
 updated answer on 14 Dec 2022
1 answer
406 views

Hi,

I am using below version of kendo grid in my react application.

"@progress/kendo-react-grid": "^5.9.0"

I am using an array from reducer state for columns in the grid and on onColumnReorder method I am updating that columns array in reducer state. I have checked that array has been updated with the correct order but on re-rendering grid's columns are not being shown updated on UI.

 

Thanks in advance.

Konstantin Dikov
Telerik team
 answered on 13 Dec 2022
0 answers
3.1K+ views

I have a problem similar to this:

https://www.telerik.com/forums/license-activation-failed-for-react-project

i deleted node modules, package-lock and did npm cache clean -f. After reinstall I still get 

I get this in localhost as well as our production environments. I see it worked in npm install

> @progress/kendo-licensing@1.2.2 postinstall C:\Development\CanvasCoreServices\EY.Kronos\EY.Kronos.Web\node_modules\@progress\kendo-licensing
> node ./bin/kendo-ui-license.js activate --ignore-no-license

(INFO) Kendo UI: KENDO_UI_LICENSE environment variable not set
(INFO) Kendo UI: Reading license from "C:\Development\CanvasCoreServices\EY.Kronos\EY.Kronos.Web\kendo-ui-license.txt"...
(INFO) Kendo UI: License imported successfully.

Any idea what I am doing wrong?

 

 

Shane
Top achievements
Rank 2
Iron
Iron
Iron
 asked on 12 Dec 2022
2 answers
227 views

https://codesandbox.io/s/modern-cherry-gki3cj?file=/app/main.jsx

When the TreeList is wider than the container (i.e. has many columns), it doesn't:

  1. Respect the given column widths, or
  2. Allow the user to resize the column widths

The grid only uses the width of the column's values or uses the width of the header cell's value (whichever is larger). I believe this is not the intended behavior for TreeList.

In case it helps -- locally, I get the below console error when I have the above scenario and try to resize a column:

Unable to preventDefault inside passive event listener invocation.

Stack trace:
CommonDragLogic.pressHandler @ CommonDragLogic.js:28
ColumnDraggable._this.onPress @ ColumnDraggable.js:29
(anonymous) @ Draggable.js:22
(anonymous) @ useDraggable.js:128
dispatchDragAndDrop @ drag-n-drop.js:130
(anonymous) @ useDraggable.js:148
(anonymous) @ useDraggable.js:173

I've tried to circumvent this issue with many strategies, and I thought it might be because I put the TreeList component inside a Material UI container, but the Sandbox shows the issue well in a clean environment devoid of any external libraries. Please help! Thank you!

Vessy
Telerik team
 answered on 12 Dec 2022
1 answer
303 views

Hi, I am using React Bootstrap, and want a 3 column layout. The third column should contain the grid. This works fine and all looks in order if the column widths are within a certain size, but when large the grid displays underneath the first 2 columns.

There must be some CSS issue but it's only happening with the grid. How do I keep the grid within the third column, regardless of the grids column sizes?

I've created a demo/example below, please assist! I've set all columns to 500px to demonstrate the problem.

https://stackblitz.com/edit/react-us4svr-iauvwn?file=app%2Fmain.jsx

Thanks.

Janki
Top achievements
Rank 4
Bronze
Iron
Iron
 answered on 09 Dec 2022
1 answer
224 views
How to add drop down in Excel while generating from kendo Excel export export view
Filip
Telerik team
 answered on 09 Dec 2022
1 answer
95 views

Hi all, i have the attached grid, in the title of the second column i wanna put a translated text that i pass to the page via props, if i put that text variable in another item (as <h1/>) the text is rendered correctly, when i put it in column title it gave me the error '"Cannot read properties of undefined (reading '''strings')".

 

so how can i put a translated text via parent variable in a child component into GridColumn title?

Vessy
Telerik team
 answered on 09 Dec 2022
2 answers
640 views

Hi,

I am trying to use Kendo React TreeList with multiple level of data. I want to have different row background color for each level.
Is there a way to achieve this?

Any help would be highly appreciated.

mert
Top achievements
Rank 1
Iron
 answered on 09 Dec 2022
1 answer
136 views

You wan't to reproduce this behavior when running the `Editor` locally or using StackBlizt, Codesandbox etc. You will reproduce this behvaior on production. There is no action when I clik on `Align text left`, `Center text` or `Align text right` button, I get this error in my console instead: 

Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'self' 'sha256-Y+wsDhnso/VitFKVAmAGIC+CGwKJuRUiycQ54atO+eE=' fonts.googleapis.com". Either the 'unsafe-inline' keyword, a hash ('sha256-Y+wsDhnso/VitFKVAmAGIC+CGwKJuRUiycQ54atO+eE='), or a nonce ('nonce-...') is required to enable inline execution. Note that hashes do not apply to event handlers, style attributes and javascript: navigations unless the 'unsafe-hashes' keyword is present.

Is there any chance to fix it?

Filip
Telerik team
 answered on 09 Dec 2022
1 answer
379 views

By default, the PivotGrid adds sub-totals and totals rows and cols.

See attached image.

How can we remove them?

Thank you

Janki
Top achievements
Rank 4
Bronze
Iron
Iron
 updated answer on 08 Dec 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?