Telerik Forums
KendoReact Forum
1 answer
160 views

In order to get a ComboBox to work inside a Bootstrap 5 Offcanvas, I attempted to set the appendTo ref per this thread.

It works correctly, but I'm seeing this warning in the browser console:

Warning: Failed prop type: Invalid prop `popupSettings.appendTo` of type `object` supplied to `ComboBox`, expected a single ReactElement.

The documentation says that appendTo accepts an HTMLElement, not a ReactElement.

Is this a bug with the propTypes provided for the ComboBoxWithoutContext class, or is there some other issue with my code that I'm not seeing?

Fiddle is available here.

Konstantin Dikov
Telerik team
 answered on 31 May 2022
1 answer
537 views

Hi ,

I want to disable filter icon in the grid while new blank  row is added and it should be enable  once user entered the value and save. can you please help.

Konstantin Dikov
Telerik team
 answered on 31 May 2022
1 answer
667 views

Hi all,

I have a grid design like this :

I am trying to add an icon  into my column header and make a pop-up after hovering it.

I use headerCell to set up the icon, however,  but the column menu will then strangely disappear. 

Is there any way to configure the column header and at the same time the column menu stays visible and workable ?

 

Any help will be appreciated

Filip
Telerik team
 answered on 30 May 2022
1 answer
450 views

I´ve been trying to animate the Dialog component when clicking the open button, but no animation is getting applied, can someone tell me how can I mix both functionalities?

https://stackblitz.com/edit/react-xcbtog?file=index.js

Filip
Telerik team
 answered on 27 May 2022
1 answer
211 views

Hello,

 

I am trying to localize the following snippet of code.

  const [steps, setSteps] = React.useState<Array<stepsInterface>>([
    { label: {localizationService.toLanguageString('custom.AddCompressor', '')}, isValid: undefined },
    { label: 'Add properties', isValid: undefined }
  ]);

 

The problem is that label only accepts strings and throws an error, hence the localization does not work, some help would be appreciated.

 

Kind regards

 

Daniela

 

 

Filip
Telerik team
 answered on 26 May 2022
1 answer
152 views
As far as I can see the DropDownButton does not have an appendTo property.  Is there no way to stop it from appending to the root?  Would rather it be inside the tree for styling reasons.
Filip
Telerik team
 answered on 26 May 2022
1 answer
85 views

I've noticed that that Data Grid has support for expandable detail rows ( https://www.telerik.com/kendo-react-ui/components/grid/rows/detail/ ), but in my case Treelist fits better with the structure. However, I was unable find support for detail rows in Treelist component. I guess the alternative is create custom solution with rowRender property on Treelist?

Filip
Telerik team
 answered on 26 May 2022
1 answer
535 views

Hi.

I would like to sort my data in a Grid using a complex data type and also using editing with the grid. The issue is that the field I want to sort by is in a nested object like this:

[
	{
		id: 123,
		channel: {
			id: 1,
			label: "test1"
		},
		...
	},
...
]

So I would like to sort by channel.label. The issue is that I also use the edit capabilities of the Grid with this data and for editing the channel I use a dropdown which uses the id as key and the label as text of the dropdown but this is not the issue and editing works fine.

I have forked one of your Grid examples to demo my sorting issues with the Grid. As you can see there, I created my own sorting function but it does not work as expected. If you hit the column header multiple times, it only gets sorted once or twice and then not anymore. I guess there is something wrong in my sorting function, so if you could please let me know what I'm doing wrong there it would be great.

https://stackblitz.com/edit/react-qlfk8k-eqxmru

Thanks,

Bernd

Konstantin Dikov
Telerik team
 answered on 25 May 2022
1 answer
115 views

I am unable to set the title for the forecolor and backcolor.

https://stackblitz.com/edit/react-nmy4tg?file=app%2Fmain.jsx

Any idea what I'm doing wrong?

 

 

Konstantin Dikov
Telerik team
 answered on 25 May 2022
2 answers
343 views

Here's a demo: https://stackblitz.com/edit/react-yr7z7g?file=app%2Fmain.jsx

In the example, there are two different columns which are available for inline editing.

The first column "GridDataCell (Retains Focus)" is working as expected, and can be filled without issue.

The second column "ExternalDataCell (Loses Focus)" is not working as expected. After typing a character into the input, focus is lost and the user must refocus before typing another character.

The difference between the two is that the custom cell for the first column is updating the data state that is provided to the Grid, while the second column is using a separate state to store any Inedit data changes, and also reading the current value from that separate state.

Is there some way to achieve the setup of the second column without the behavior I'm seeing?

Micah
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 25 May 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?