Telerik Forums
KendoReact Forum
1 answer
595 views

I'm displaying a Popover in a GridCell, but the content is being queried as the Popover renders.

Because of this, the initial height of the Popover is much less than it will be once the data is available. The problem I'm seeing is that when the data becomes available, the Popover increases in height but any new collision is not detected, which sometimes results in the Popover going offscreen.

Here's a demo where the Popover position is bottom, but should flip on collision. When mousing over the Popover cell in the bottommost (visible) row, initially there is enough space to display below the cell. After the setTimeout runs, the content grows off the page.

https://stackblitz.com/edit/react-tudni8?file=app/main.jsx

 

Stefan
Telerik team
 answered on 15 Mar 2022
1 answer
546 views

I have been working with the KendoReact PDF Generator. I'm having trouble with getting my custom fonts to be exported to the PDF. I have added the @font-face to my css file, but it still falls back to the default font. I have tried with both TTF fonts and OTF fonts. 

I'm hoping someone can shed some light on what I'm doing wrong.

I'm not using inline CSS. I'm using classes.

Thanks in advanced for help.

Stephen

Stefan
Telerik team
 answered on 15 Mar 2022
1 answer
113 views

I'm using a comboBox with the allowCustom setting. 2 questions:

1) How can I make sure that only integer values can be entered as custom value (meaning numeric values without decimal point)?

2) How can I make sure that only double values can be entered as custom value (meaning numeric values with or without decimal point)?

 

Konstantin Dikov
Telerik team
 answered on 14 Mar 2022
1 answer
142 views
I want to change the content of the headers and buttons, and have not found how to do it.
Stefan
Telerik team
 answered on 14 Mar 2022
1 answer
124 views

For the GridPDFExport feature, are there any limitations for border? I can't seem to get a dashed border to export correctly (always exports as solid although it does correctly apply border-width) => do these drawing limitations apply to the GridPDFExport component as well? If not, is there anything I could be doing wrong?

I've added the border through rowRender as well as CSS but neither export the dashed border correctly.

 

Thank you in advance!

Filip
Telerik team
 answered on 14 Mar 2022
1 answer
178 views

I'm looking for an example of how we would use a JSON object to dynamically generate a form. We have a number of products that users can select and depending on the product they select the input fields will be different, all of the configurations can be sent via a JSON object but i'm trying to understand how to use that to generate a unique for based on the config.

Are there any examples of this type of dynamic form?

Konstantin Dikov
Telerik team
 answered on 10 Mar 2022
1 answer
67 views

Demo taken from KendoReact docs

When you scroll to the bottom of the grid, it starts glitching (there is a big blank space below the last row) => any workarounds?

 

Also, any workarounds for the fact that grouped grids with virtual scrolling can't use the expand/collapse functionality?

 

Thank you!

Filip
Telerik team
 answered on 10 Mar 2022
1 answer
103 views

Hi,

1) Is it possible to do resource grouping below the dates?
To have for example Monday, and under Monday: Alex, Emma...
2) Is it possible to customize date format from the table header? 

Stefan
Telerik team
 answered on 10 Mar 2022
0 answers
105 views
I am trying to figure out why the Switch control in my React project goes blank when you turn it to the off position.  It has something to do with it having focus because when I click somewhere else in the application the slider re-appears.
Jimmy
Top achievements
Rank 1
Iron
 asked on 08 Mar 2022
1 answer
238 views

Hi,

I'm aware there is a cellRender method. There is also a rowRender method.

In our project we allow users to style fields, for example the user might set a specific field/column to have a background colour of red. I do this in the cellRender method.

But what is the user wants to highlight an entire row (so each field/column has a background colour)? I wondered if we could use the rowRender to achieve this.

I have got the desired effect but am wondering if this is considered bad practice? Is this okay or is it better to add more logic to the cellRender method?


const rowRender = (tr, props) => {

// In this basic example, the second row of the grid has all it's cells coloured red. It'll obviously be more complex than this

if (props.dataIndex === 1) {
    props.children.forEach((cell, i) => {
    props.children[i] = React.cloneElement(cell, {...applyStyle({backgroundColour: '#ff0000'})});
});

...

Stefan
Telerik team
 answered on 08 Mar 2022
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?