Telerik Forums
KendoReact Forum
3 answers
133 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
38 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.1K+ 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
127 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
492 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
3 answers
84 views

Hi, 

How to collapse the node I have just expanded by clicking the same node when PanelBar expandMode is set to 'Single'.

 

Regards,

Vinod

Stefan
Telerik team
 answered on 26 Aug 2019
1 answer
6.8K+ views

I have RGB value using that i want to background color of cell or text in particular cell. How can i achieve that?

 

Regards,

Mukesh 

 

Stefan
Telerik team
 answered on 26 Aug 2019
1 answer
73 views

I have gird with check boxes, i want to inject count of selected record on grid pager where i am getting all page related info.

How can i achieve that.

 

Regards

Mukesh 

Stefan
Telerik team
 answered on 26 Aug 2019
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?