Telerik Forums
KendoReact Forum
1 answer
82 views
My name is jerry phens, and I want to know how to use react. I am run a website name http://scamlegit.com. So, help me out how can I use it make my website good.
Stefan
Telerik team
 answered on 13 Jul 2020
1 answer
195 views

Hi,

For SchedulerGroup there is an option of horizontal or vertical orientation but how to set the orientation for specific view? We need a horizontal DayView but Vertical MonthView.

Stefan
Telerik team
 answered on 10 Jul 2020
3 answers
345 views

Hi,

How to enable kendo tooltip for scheduler? In my example there is a custom child in the SchedulerItem where kendo tooltip is working but if I hover over item title (e.g. "Car Service") browser tooltip is shown instead of kendo.

Kiril
Telerik team
 answered on 10 Jul 2020
3 answers
439 views

Hi, 

I created a custom edit dialog with one input (for now), "submit" and "close" button for my item by adding a form prop to SchedulerEditItem https://stackblitz.com/edit/react-zxvhmh (double click on any item and dialog will open)

My questions are:

1) Did I implement the submit correctly? Because I did not find any examples and the scheduler documentation in very confusing.

2) I need a similar dialog open on slot double click. Is there a prop like "form" available for the slot? If not what is your recommendation?

Stefan
Telerik team
 answered on 10 Jul 2020
3 answers
235 views

I have made a filter panel using the PanelBar. Each PanelbarItem contains the controls (checkboxes, multiselect, etc) to filter a dataset. I would like to add a checkbox to "select all" in the PanelBarItem title area so the user can manage the child controls in bulk. The component signature seems to be <PanelBarItem title="xxx" .../> where "xxx" is  a string. I tried to get lucky by passing <PanelBarItem title={ () => (<Checkbox ... />)}>, but didn't work. Any help would be appreciated.

 

 

Stefan
Telerik team
 answered on 10 Jul 2020
2 answers
76 views

Hello, 

I am trying to get the same display for the Categories Axis when having negative values in the Values axis like this example https://dojo.telerik.com/AYuPogoC/124,

But when trying this with KendoReact this is not working. https://stackblitz.com/run/?file=app%2Fmain.jsx

 

Kamelija
Top achievements
Rank 1
Veteran
 answered on 08 Jul 2020
3 answers
131 views

I have a master-detail grid and I've enabled column resizing.

I've noticed that when a column resize event is triggered on the master grid (i.e. the one that contains the expand/collapse HierarchyCells), the index field returned from this event is out by 1 when compared to the columns field in the same event. The index is too large by 1.

When a column resize event is triggered on a grid that does not contain HierarchyCells, the index field returned is correct.

In the attached files, you'll see the address1 column was resized, however, an index of 5 was returned instead of 4. 

Devender
Top achievements
Rank 1
 answered on 07 Jul 2020
1 answer
185 views

Hi,

I want to override SchedulerTask children (something similar like in SchedulerItem example) but so far without any luck. Here is my code https://stackblitz.com/edit/react-7h4x9z. This should be possible, right?

Kiril
Telerik team
 answered on 07 Jul 2020
2 answers
442 views

So I am hoping to use a button to open a window which will have a form for editing or adding data which is inside of the Grid Kendo UI component. Basically when they hit the edit button I would like a window to pop up pre-populated with some data from that line inside of the grid.

Getting the data passed to the window is not a problem, the problem is that the window seems to only render inside of the grid component where I would actually like it to render inside of the browser window if possible. I am using a command cell to place the buttons inside of the grid, ultimately the window component is housed inside of this command cell. I am doing this because I dont believe it is possible to move data back up to parent components from a child component, i.e. if i change state on a child component I can not pass that state up to the parent component. Below is my code for the command cell:

 

import React from 'react';
import { GridCell } from '@progress/kendo-react-grid';
import { Window } from '@progress/kendo-react-dialogs';
import { Dialog, DialogActionsBar } from '@progress/kendo-react-dialogs';
import { Form, Field, FormElement } from '@progress/kendo-react-form';
import { Error } from '@progress/kendo-react-labels';
import { Input } from '@progress/kendo-react-inputs';
import { Progressbar, ChunkProgressBar } from '@progress/kendo-react-progressbars'
import {Fullscreen} from "@material-ui/icons";
 
 
 
export function DataGridCommandCell({ edit, remove, add, update, discard, cancel, editField }) {
    return class extends GridCell {
        constructor(props) {
            super(props);
            this.state = {
                windowVisible: false
            };
            this.toggleEditWindow = this.toggleEditWindow.bind(this)
        }
 
        toggleEditWindow(){
            this.setState(
                {windowVisible: !this.state.windowVisible}
            )
            console.log(this.props.dataItem)
 
        }
        render() {
            const { dataItem } = this.props;
 
            const handleSubmit = (dataItem) => alert(dataItem.input.test);
 
 
            return (
 
                    <div>
                        <button className="k-button k-primary" onClick={this.toggleEditWindow}>Edit</button>
 
                        {this.state.windowVisible &&
                        <Window
                            title = {'Executive Actions'}
                            initialHeight={650}
                            initialWidth={1000}
                            onClose={this.toggleEditWindow}
                            initialLeft={1}
                            initialTop={1}
                            stage={'Fullscreen'}
 
 
                        >
 
                         <div>
                             test
                         </div>
 
 
                        </Window>
                        }
                    </div>
 
 
 
            )
 
        }
    }
};
 
export default DataGridCommandCell

 

Stefan
Telerik team
 answered on 07 Jul 2020
12 answers
1.7K+ views
I want to disable the fields/controls in React kendo grid based on input.
For example : Based on selection of value in Full Name, I want to disable the Birth Date column
Stefan
Telerik team
 answered on 07 Jul 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?