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

Regarding Performance of Kendo inline editing

2 Answers 51 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jiyo
Top achievements
Rank 2
Jiyo asked on 27 Nov 2019, 03:55 AM

Hii,

I'm using kendo inline editing feature in our grid.

This is the code for enabling the inline editing in a particular row

enterEdit = (dataItem) => {
        this.setState({
            data: this.state.data.map(item =>
                item.ProductID === dataItem.ProductID ?
                { ...item, inEdit: true } : item
            )
        });
    }

 

In this code actually we are looping the entire records right?? So my question is if i have 10000 records will i face a performance issue?

2 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 28 Nov 2019, 07:24 AM

Hello, Jiyo,

Operations over an array are usually very fast and should not cause any performance issues.

Also, if there will be 10000 records, I assume the Grid will have paging and it that case, only loop trought the items on the page, as the others will not visible and should not be placed in edit.

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
0
Jiyo
Top achievements
Rank 2
answered on 28 Nov 2019, 12:37 PM
Thankyou
Tags
General Discussions
Asked by
Jiyo
Top achievements
Rank 2
Answers by
Stefan
Telerik team
Jiyo
Top achievements
Rank 2
Share this question
or