Telerik Forums
KendoReact Forum
3 answers
1.5K+ views
I've noticed what I think is a bug with the dropdown. If you bind a dropdown to a value (controlled in component state), you can have the value be undefined to start, and you get a dropdown with no selection. However, if you then manually select one of the entries, and programmatically set the value back to undefined, it does NOT clear the selection, even though the value (correctly) is undefined.

Is there some trick to this? For comparison, I used a vanilla textbox and the value does correctly clear, so I am pretty sure this is a Kendo issue.
Jason
Top achievements
Rank 1
 answered on 09 Sep 2019
1 answer
2.9K+ views
I want to clear selection of dropdown. i don't want to set default item. I just want to clear the selection.
Stefan
Telerik team
 answered on 09 Sep 2019
2 answers
109 views

Hello,

I'd like to ask about following situation: I have a dropdownlist with disabled property set to true. However, when i put dropdownlist inside a <label> element it can be opened.

https://stackblitz.com/edit/react-grc43y

Tomasz
Top achievements
Rank 1
 answered on 05 Sep 2019
3 answers
135 views

Hi,

I was checking your HOC withState grid and can you give an example when this approach could be used? https://www.telerik.com/kendo-react-ui/components/grid/data-operations/local-operations/

Because it is possible to achieve the same behavior without the HOC like this https://stackblitz.com/edit/react-sn578k and I am just interested if there is any reason do it with HOC.

Stefan
Telerik team
 answered on 05 Sep 2019
1 answer
42 views

     Hi, I am showing and hiding columns and the pager colspan seems to be stagnant i.e., it doesnt expand. Can you please advice?

 

https://stackblitz.com/edit/react-jb3drk-trrrin?file=app/ReuseGrid.jsx

Stefan
Telerik team
 answered on 04 Sep 2019
1 answer
1.1K+ views
How to provide tooltip for grid columns. Is there any way to achieve that. 
Stefan
Telerik team
 answered on 03 Sep 2019
2 answers
1.2K+ views

So I don't know if this is by design/mistake/overlooked but it seems multiselects do not apply the id or name property i manually set them when being rendered. 

 

see example project here: 

https://stackblitz.com/edit/react-kjdntt

 

 

 

It would appear your numeric textbox control does honour these settings but i can only assume at this stage that all the dropdown based ones do not honour it. 

(see attached image for console output)

This is causing me some problems with a generic form validation component that I am creating where it will display the name of the control(s) that is/are invalid when the form is being submitted for not only your input controls but also standard html controls. 

 

Am I overlooking something here or is there a design decision why this is being done in this way? 

 

 

 

 

 

 

David
Top achievements
Rank 1
 answered on 30 Aug 2019
3 answers
131 views

I am using header checkbox wit drop down which has multiple option like All, Page,and None, But i want to make it configurable based on props value.

If my props value is true i want to show check box with drop down else, i want to render simple header checkbox. is there any way to achieve that.

I tried making headerCellRender configurable based on property but that doesn't seems to be working. Please find the logic of headerCellRender and let me know if i am something or is it really possible or not.

const headerCellRender = (cell: any, gridProps: GridColumnProps) => {
if (props.showdropDown) {
if (gridProps.field === 'selected') {
return <DropDownList
data={["All", "Page", "None"]}
style={{ width: 35, paddingLeft: 0 }}
popupSettings={{ width: '200' }}
valueRender={valueRender}
onChange={handleHeaderDropDownChange} />
}
return cell
}
else {
return <GridColumn field="selected" width="30px"
filterable={false}
headerSelectionValue={dataResult.data !== undefined ? (dataResult.data[0] !== undefined && props.data.findIndex((dataItem: any) => dataItem.selected !== true) === -1) : false}
/>
}
}

Stefan
Telerik team
 answered on 27 Aug 2019
1 answer
82 views
When I have multiple grid in same page and if i do header selection for one grid both the grid are getting selected.

Please find the below example.

https://stackblitz.com/edit/react-valgmy-ryjhrr?file=app/main.jsx
Stefan
Telerik team
 answered on 27 Aug 2019
1 answer
498 views

Hi, I am using a Custom HeaderCell with process from kendo-data-query. The sort doesnt work when I use a CustomHeaderCell for that particular column. Can you help me out with that please?

 

Here is the demo link.  https://stackblitz.com/edit/react-62xcv8

Stefan
Telerik team
 answered on 26 Aug 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?