12.07.2010, 16:05 | #1 |
Участник
|
emeadaxsupport: Forms with a high number of records take a significant time to show
Источник: http://blogs.msdn.com/b/emeadaxsuppo...e-to-show.aspx
============== You might have seen this before in the Dynamics AX 2009 Client, that if you open a transaction Form like CustTransOpen the very first row is displayed quickly, however all other rows of the Grid are shown after a significant time. In between the Dynamics AX 2009 Client is unresponsive (frozen). The reason for this situation is the automatic sizing that happens for columns on the Grid. Actually this automatic sizing happens by default for all Grids however you only notice the negative effect when the DataSource contains a lot of records and / or some columns are filled by DataMethods. This issue was first reported for the table browser, and for this also a fix was created that is included in the Rollup 2. The Kernel fix basically introduces the possibility to turn the automatic sizing off, by adding a new Kernel method autoSizeColumns to the Grid. This fix alone does however not solve the issue on the individual Forms, because the automatic sizing is by default still turned on, so you need to manually disable automatic sizing on the affected Forms where you suffer from this feature. To turn the automatic sizing of you first need to turn the property “AutoDeclaration” of the affected Grid to “Yes”. Then you can use the following X++ code for example in the Init method of the Form: ... Grid.autoSizeColumns(false); ... --author: Thomas Treen --editor: Alexander Lachner --date: 12/07/2010 Источник: http://blogs.msdn.com/b/emeadaxsuppo...e-to-show.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
За это сообщение автора поблагодарили: db (1), Logger (5), alex55 (1), Geo (1). |
12.07.2010, 16:50 | #2 |
Участник
|
вот ведь...
включили опцию, а теперь оказывается что она тормозит. а подумать перед тем как включать о нормальных, а не игрушечных базах можно было? |
|
12.07.2010, 17:11 | #3 |
Участник
|
Такой же совет дается в комментариях к моему сообщению здесь
http://kashperuk.blogspot.com/2010/0...owser-and.html |
|
14.07.2010, 11:35 | #4 |
Участник
|
Действительно, стало быстрее. На заметку.
__________________
Ivanhoe as is.. |
|
12.09.2010, 21:10 | #5 |
Участник
|
интересно, а есть ключи при запуске аксапты (сервера или клиента), чтобы отрубить эту "опцию" для всех форм. Если честно, то задолбало...
|
|
Теги |
ax2009, грид, скорость, тормоза, форма |
|
|