Telerik Forums
KendoReact Forum
2 answers
102 views

Hi team, 

I've created a `CustomScheulerEditItem` component to handle use cases when the user double clicks and item and when then move it.

However I've noticed that when clicking or double clicking an item, the `SchedulerEditItem` triggers the `onRelease` callback and then the `onClick` or `onDoubleClick`.  Due to this behaviour, the action I need to complete onClick, never happens.

I have an example here in stackblitz (https://stackblitz.com/edit/react-nc1tnr?file=app%2Fmain.jsx), now I know that the `onClick` callback is working, but its being preceded by `onRelease`. Have I impl this incorrectly? please advise how I can ignore the `onRelease` when simply clicking on the Item.

Thanks,
Grant

Grant
Top achievements
Rank 3
Iron
Iron
Iron
 answered on 29 Sep 2023
0 answers
82 views

Hey everybody,

would like to use Gantt control on a tablet. but there don't seem to be any touch events, nor can I scroll. Did I miss something?

Regards

Lars
Top achievements
Rank 1
 asked on 28 Sep 2023
1 answer
90 views

I'm looking at the examples of virtualization found on https://www.telerik.com/kendo-react-ui/components/dropdowns/multiselect/virtualization/

There is a problem at the main.jsx file, when you look at the full source you can see that the project was set up using outdated approach that defaults back to React 17 :https://react.dev/blog/2022/03/08/react-18-upgrade-guide#updates-to-client-rendering-apis

Line that is outdated:

ReactDOM.render(<App />, document.querySelector('my-app'));

using the new Client Render API you will see that the scroll is glitching:
https://codesandbox.io/s/kendo-virtualization-problem-d4375s?file=/src/index.js

Hope someone has a simple solution?

Vessy
Telerik team
 answered on 28 Sep 2023
1 answer
112 views

Hi there,

Referring to the Task Board documentation from Custom Rendering - KendoReact (telerik.com) and TaskBoardTaskEditPaneProps - React TaskBoard Component - KendoReact API (telerik.com)

How can I add additional input fields (eg: assignee) to the Task Board Task Edit Pane. Currently on 3 input were allowed (title, description, priority).

Konstantin Dikov
Telerik team
 answered on 28 Sep 2023
1 answer
85 views

I have implemented a grid using OData Server Operations, very similar to this example:
https://www.telerik.com/kendo-react-ui/components/grid/data-operations/odata-server-operations/

But now I can't highlight the selected row. Using the process function does not allow for server side paging, filtering or sorting.

I can't use `getSelectedState` as my version of the grid has no exported member.

Is there any other way I can highlight the selected row?

SoH
Top achievements
Rank 1
Iron
Veteran
Iron
 answered on 28 Sep 2023
1 answer
120 views
I am trying to use drawer and panelbar but now some hooks are used, Could you provide some example for the Drawer or PanelBar components? please
Vessy
Telerik team
 answered on 27 Sep 2023
1 answer
667 views

Hi,

I wanted to try kendo for out new project, but bumped into an error on the very first step.

Run this :

npx create-kendoreact-app

got this error on mac:

 

Initialized a git repository.

Installing template dependencies using npm...
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: ***********.0.1.0
npm ERR! Found: @progress/kendo-svg-icons@1.9.0
npm ERR! node_modules/@progress/kendo-svg-icons
npm ERR!   @progress/kendo-svg-icons@"^1.1.1" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @progress/kendo-svg-icons@"^2.0.0" from @progress/kendo-react-buttons@5.19.0
npm ERR! node_modules/@progress/kendo-react-buttons
npm ERR!   @progress/kendo-react-buttons@"^5.0.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! 
npm ERR! For a full report see:

 

Am I missing something?

 

Filip
Telerik team
 answered on 27 Sep 2023
1 answer
69 views
Hello, this is really not a question, but it is actually a bug that I discovered and possibly fixed, so I would like this to be included in the documentation. If you use the paging functionality of Kendo-react-grid component or even go to this page: https://www.telerik.com/kendo-react-ui/components/grid/paging/ and check the first example on the official docs page, you will notice that when you click on the dropdown and select "All" so that you can see all the possible records on the grid in that single page, you won't be able to. The grid will display "No records available". So I faced the same issue when implementing pagination on this project and as soon as I would click on "All" I won't be able to see any records. So I debugged this and found the problematic code.

const pageChange = (event) => {
    const targetEvent = event.syntheticEvent;
    const take =
      targetEvent.value === "All" ? products.length : event.page.take;
    if (targetEvent.value) {
      setPageSizeValue(targetEvent.value);
    }
    setPage({
      ...event.page,
      take,
    });
  };
Here in the second line, where const targetEvent has been initialised with event.syntheticEvent, I changed it to event.targetEvent and this started working for me. I am not sure if it will work for all the people out there or if it is even the best solution, so in the meantime I get an official update from kendo react team, I will call it as a "workaround". I am using Chrome in case it matters. I submitted this as a question because I didn't know how to submit this as a bug to the official kendo team. Hope it helps, thanks!
Wissam
Telerik team
 answered on 27 Sep 2023
1 answer
196 views

Hi,

how to implement tri-state checkboxes in tree list. which should be fully checked, or fully unchecked or partially checked.

Thanks.

Konstantin Dikov
Telerik team
 answered on 25 Sep 2023
2 answers
92 views

Hi. I faced a problem with rendering footerCell . It worked for me in version 3.18.0 but after update it doesn't work in versions 5.16.0  - 5.18.0. 

Also I found out that it doesn't work in any your DataGrid examples if I addngi footerCell functionality.

FooterCell looks like :

footerCell={props => (<td className='k-table-td' colSpan={props.colSpan} style={props.style} role={'gridcell'}>Total: </td>)}

or 

footerCell={() => <td>Total:</td>}

In my solution and in all your examples it crashes DataGrid rendering. 

I attached screenshot from my solution, but the same bihavior if I adding this lines of code in any your example of DataGrid demo site.

Is it bug, or what am I doing wrong? 

Vakhtang
Top achievements
Rank 1
Iron
 answered on 22 Sep 2023
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?