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

slowness tabbing between cells

3 Answers 50 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 1
Alex asked on 02 Jan 2013, 01:52 PM
I have a RadGridView and DataGrid implementation of a grid with with about 20 columns. A large number of the columns use cell templates and some of them use converters as well. I've noticed that when I edit and then tab between columns the RadGrid's performance has a noticeable lag compared to the DataGrid. Any ideas as to what might cause this and ways to alleviate?

Thanks,
Alex

3 Answers, 1 is accepted

Sort by
0
Nedyalko Nikolov
Telerik team
answered on 02 Jan 2013, 02:28 PM
Hi,

Could you please send me a little bit more info about your project - kind of the grid's data source, kind of columns, templates and so on (a sample project will be great)?

Kind regards,
Nedyalko Nikolov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Alex
Top achievements
Rank 1
answered on 14 Jan 2013, 10:50 PM
Through some investigation I've determined that this slowness seems to be caused by column width resizing. I have columnWidth set to "Auto" and when a column goes into editing mode it seems to get slightly bigger (if there's a lot of data in it). So, when I tab between columns while in editing mode columns keep slightly resizing causing for degraded performance. Is there a way to prevent columns from resizing when going into editing mode? Is there something else you would suggest? Thank you
0
Accepted
Nedyalko Nikolov
Telerik team
answered on 15 Jan 2013, 03:23 PM
Hello,

There is no way to stop "resizing" with Column.Width set to "Auto", since this is what "Auto" means - column width is adjusted due to the content. The only way to stop this is to set some fixed value for width (e.g. 100 pixels). You can set Column.Width to "*" for some column in order to fill the empty space.
Keep in mind that setting all columns to a fixed value width will enhance the overall performance of RadGridView (for more information you can take a look at this online help topic).

Regards,
Nedyalko Nikolov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
GridView
Asked by
Alex
Top achievements
Rank 1
Answers by
Nedyalko Nikolov
Telerik team
Alex
Top achievements
Rank 1
Share this question
or