Telerik Forums
KendoReact Forum
1 answer
81 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
123 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
120 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
271 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
1 answer
634 views

For example, we are trying to include an info icon next to each category axis label in a line chart that, when clicked, would display a popup with additional data that's not already found in the chart. We have yet to find anything that directly says we can use icons/images in this way inside chart components.

Is there a way that we can include an icon/image next to the category label text for every category? 

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

HI All,

Could you please help me on how to  write a code on kendo tooltip close button event. i need to perform some operation when user clicks on the tooltip close button. but I am not able to find out that particular event.

By using the class i tried to fire the click event of that close button but its not getting fired.

 


Thanks

Rajendra Singh

 

Konstantin Dikov
Telerik team
 answered on 07 Mar 2022
1 answer
674 views

Hi I'm having difficulty in implementing data-attribute in autocomplete suggestion items.

The problem is i need more info in of the selected suggestion, not just the ID. 

The code below works but it doesn't solve the problem because  the data attributes were set in the li's children element. 

How do i add custom data-attribute to HTMLLIElement?  TIA

  

const itemRender = (li: React.ReactElement<HTMLLIElement>, itemProps: ListItemProps) => {
       
        const itemChildren = (
          <div className="autocomplete-suggestion" 
            data-employeeid={`${itemProps.dataItem.memberInfo.employeeID}`} 
            onClick={ (e) => e.preventDefault()}
            >
            {li.props.children}  

          
          </div>
        );

    
        return cloneElement(li, li.props , itemChildren);
    };


Konstantin Dikov
Telerik team
 answered on 06 Mar 2022
1 answer
119 views

Hi, 

 

ist there any example where GanttCellProps is used.

Thank you, Matjaz Reberc

 

Stefan
Telerik team
 answered on 03 Mar 2022
1 answer
116 views

I am implementing a TimelineView similar to this: https://stackblitz.com/edit/react-asermz?file=app/main.jsx

One oddity I've noticed is the gap that appears after ever event.

I can see where it might be useful in some of the other Scheduling views to give a better separation between events, however in the Timeline view it gives the appearance that an event is ending earlier than it really is.

Is there any workaround that might accomplish what I'm looking for?

Stefan
Telerik team
 answered on 03 Mar 2022
1 answer
2.8K+ views

if I install latest verson 

   npm install --save @progress/kendo-theme-default 

the below error  is displayed

./node_modules/@progress/kendo-theme-default/dist/all.css (./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-3-1!./node_modules/postcss-loader/src??postcss!./node_modules/@progress/kendo-theme-default/dist/all.css)
ParserError: Expected closing parenthesis at line: 1, column 5

 

if I install the verson 

   npm install --save @progress/kendo-theme-default@4.8.0 

then some componets like input, dropdown and indicators etc  styles are not applied 

 

Stefan
Telerik team
 answered on 02 Mar 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?