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

Time issue – Grid EditMode

1 Answer 35 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ulrich
Top achievements
Rank 1
Ulrich asked on 26 Oct 2010, 09:18 AM

Hello all,
 

I have a form which has 7 grids, one grid per weekday.

For each grid I dynamically create a datatable because the column layout can change.

I use a HeaderTemplate because I need to merge headers, an ItemTemplate and an EditTemplate.

 

The form is displayed correctly, however I’d like all rows to be directly in EditMode, which I set in the PreRender event.

When I then trigger the Rebind event, it takes endlessly (up to 40 seconds) until the form is displayed. If I disable the EditMode, it’s displayed right away. (See attached pictures)

 
Any help would be appreciated.

 

Ulrich

1 Answer, 1 is accepted

Sort by
0
Marin
Telerik team
answered on 26 Oct 2010, 01:19 PM
Hi Ulrich,

You may also put all items in edit mode as shown in this help article. The reason it takes so much time is that when you put all the rows in edit mode it has to render the editItem templates for every row which also depends on how many rows you have. You may try different options to optimize the performs including enabling paging for the grid or use client-side editting as shown in this live demo.

Sincerely yours,
Marin
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
Ulrich
Top achievements
Rank 1
Answers by
Marin
Telerik team
Share this question
or