Telerik Forums
KendoReact Forum
0 answers
149 views
Hello,
grid component is not scalling properly when page zoom is less than 100%.

This can be reproduced here: https://codesandbox.io/s/pqwmz4 (default grid from documentation https://www.telerik.com/kendo-react-ui/components/grid/)

Change page zoom to 33%:


Result: blank space visible after last column
What i want to achievie: columns are fully scalled and blank space is not visible
Kamil
Top achievements
Rank 1
Iron
Iron
 updated question on 07 Dec 2022
1 answer
271 views

When trying to expand all rows in a Pivot Grid as follow:

const defaultRowAxesPivotGridAxis[] = [
  { name: ['[Geography].[City]'],expand: true  },
  { name: ['[Product].[Category]'],expand: true }
];

 

The "Geography" field is expanded whereas the "Product" field is not.

See the attached image for a visual description of the problem

The question is : how does one expand all rows/cols in a pivot grid in React?

Filip
Telerik team
 answered on 07 Dec 2022
1 answer
120 views
Hi All,

I am facing an issue to open the inner Rows/Cols by default as we can do the top level Rows/Cols, But i can not find any function or render method to do so. I am attaching the screenshot for same. Please any help would be appreciated. 

Thanks
Filip
Telerik team
 answered on 06 Dec 2022
1 answer
78 views
The stock chart legend behaviours differently from the standard chart component, when you hover over the label the series are not highlighted. Heres a stackBlitz demo as an example https://stackblitz.com/edit/react-y7gch7?file=app%2Fmain.jsx,app%2Fstock-data.json
Konstantin Dikov
Telerik team
 answered on 05 Dec 2022
1 answer
840 views

I have a Form and I'm entering some data to the fields and submitting data to backend using OnSubmit method, After submission I wanted to see my page with already submitted data. Instead page is reloading with previous item. I tried to pass new object with all the latest values to form in the Key attribute. But Form is not reloading with the new data that I supplied.

my code like this.

//submit method

var option;

const SubmitData = async (request, e) => {

option = request;

try{

await postData(request).unwrap().then(() => )

}

}

 

// Form

return (
    <Page>
      <Form
        initialValues={workProgramDetailsResponse}
        onSubmit={SubmitData }
        key={option}
       

render={(formRenderProps) => (

<div><FormElement>------</FormElement></div>)}

I'm creating a global variable and trying to pass it in the key. IS this a correct approach? Or key value should match with initialValues(varibale names) - data structure inside both are same.

 

Please help

 

Konstantin Dikov
Telerik team
 answered on 02 Dec 2022
1 answer
224 views

Hi,

I want to ask if is there any way to export grid to excel with a cell's format as a hyperlink.

I tried to use Excel function HYPERLINK but it's only text, not a real hyperlink.

Thanks.

Filip
Telerik team
 answered on 02 Dec 2022
1 answer
1.0K+ views

Hi,

I have a numeric input cell in a grid which should accept only integer.

Is it possible to restrict user from entering decimal values?

 

Konstantin Dikov
Telerik team
 answered on 02 Dec 2022
0 answers
535 views

I was asked to look at an existing application and I have exactly zero React experience...  The main form has a KendoReact grid on it, and when clicking on a button on the form, a small modal window pops up (it's not a Dialog, it's Window).

The problem is that clicking the X  to close the popup doesn't do anything at all. Maximize and minimize work, but not the X. It only goes away by refreshing the page.

This is the popup:

    

import { Window } from '@progress/kendo-react-dialogs';

...

public exportCSVFile() { let window = <Window style={{ position: "fixed", marginTop: "-100px", width: "380px", height: "355px", zIndex: "10003" }} title={"REPORT PARAMETERS"}

onClose={this.closeDialog} modal >

<div>..... </div>

</Window> return (<div>{window}</div>)

This is supposed to close it:

    closeDialog() {
        this.setState({
            visibleForm: false,
        });
        this.props.closeDialog()
    }

The line "this.props.closeDialog()" goes deeper to a few other functions, but ultimately it doesn't do anything.

As I said, I don't really know React, but from looking at the code it looks like there should be a relationship between the popup and the main form, and something there is not quite right.

I've seen the sample implementations of Window, but the form I work with creates the window differently than the samples.

Any ideas? I'm not even sure if this could work the way it's done... maybe it wasn't done right initially.

 
nickb
Top achievements
Rank 1
 updated question on 01 Dec 2022
1 answer
516 views

Sometimes the icons of the components do not load correctly, I am using the latest versions of all kendo react packages, below is an example with the dropdown and dateTimePicker.

 

Filip
Telerik team
 answered on 28 Nov 2022
1 answer
197 views

Hello,

I'm looking for a way to lock the column that opens/closes the detail row in a Master-Detail Grid. I can probably use css however I have the next column also locked which dynamically puts it sticky at left: 0, Which would overlap the open/close column. 

 

Any thoughts on how to accomplish this?

 

Thanks,

Bill

Filip
Telerik team
 updated answer on 25 Nov 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?