Telerik Forums
KendoReact Forum
1 answer
592 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
85 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
651 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
95 views

Hi, 

 

ist there any example where GanttCellProps is used.

Thank you, Matjaz Reberc

 

Stefan
Telerik team
 answered on 03 Mar 2022
1 answer
99 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.7K+ 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
1 answer
81 views
Hello,

I'm currently trying out the Kendo React Framework. I use the MultiSelect component with for example
10 options. Now I want the user to only be able to have a maximum of 5 options selected at a time.
Is there a built-in way to limit the number of options that can be selected? Unfortunately, I couldn't 
find anything about this in the documentation.

I would be very happy about an answer. Thanks in advance.
Stefan
Telerik team
 answered on 02 Mar 2022
1 answer
795 views


if I Run

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

it shows below error

./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 Run below command

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

Some components like input and dropdown,badges components style are not applied

Stefan
Telerik team
 answered on 02 Mar 2022
1 answer
93 views

I'm setting the filter of a col with blank (""), null, and real values programmatically. I also want to use the checkbox filter so that when the user filters out the nulls and "", they can further filter down the real values. But when you set the filter programmatically, the null and "" values are selected in the checkbox filter (incorrect) while the grid itself filtered them out (correct).

If I change the checkbox filter to take in the new filtered data, it still shows "2 values selected" even though we're not technically selecting null and "" (I understand they're still being used as "values" in the filter object itself).

My problem lies with the fact that the values are "selected", which requires the user to need to manually de-select these two options to further filter down the filtered data.

Any ideas/workarounds for this edge-case/niche situation?

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

Konstantin Dikov
Telerik team
 answered on 27 Feb 2022
1 answer
130 views
According to the documentation( https://www.telerik.com/kendo-react-ui/components/scheduler/customization/items/ ), the composition tree looks as follows: EditItem -> Drag -> ViewItem -> Item, and according to this: https://www.telerik.com/kendo-react-ui/components/scheduler/customization/items/state-update/ this hook should give us access to the item being dragged.

However, regardless of where we use this hook, there is never any data. We've tried using it inside basically every part of the component(a custom item, view item, edit item, but regardless of where we try to use it, we just get `null`s back. Even when using it inside a custom `SchedulerItem` which has been written to render in a different color when on-going, when it is dragged, the item will correctly change color, but there is still no information available to us about it being dragged.


Stefan
Telerik team
 answered on 25 Feb 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?