This is a migrated thread and some comments may be shown as answers.

How to dynamically add blank row in kendo react grid.

1 Answer 517 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mukesh
Top achievements
Rank 1
Mukesh asked on 07 Jun 2019, 11:33 AM

Hi 

 

I have a requirement to add blank row in the grid which existing text, drop down or other control which is already in the grid. I want to do this on click of button is there any way to achieve this functionality.

 

Regards,

Mukesh 

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 10 Jun 2019, 08:06 AM
Hello, Mukesh,

The Grid renders what is passed in the data property, and if additional row has to be added one of the options is to add a record to the array:

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

If this is not helpful, please provide more details on the requirements for the row.

Regards,
Stefan
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Mukesh
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or