AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 12.07.2010, 16:05   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
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  
mazzy is offline
mazzy
Участник
Аватар для mazzy
Лучший по профессии 2015
Лучший по профессии 2014
Лучший по профессии AXAWARD 2013
Лучший по профессии 2011
Лучший по профессии 2009
 
29,472 / 4494 (208) ++++++++++
Регистрация: 29.11.2001
Адрес: Москва
Записей в блоге: 10
вот ведь...
включили опцию, а теперь оказывается что она тормозит.
а подумать перед тем как включать о нормальных, а не игрушечных базах можно было?
__________________
полезное на axForum, github, vk, coub.
Старый 12.07.2010, 17:11   #3  
kashperuk is offline
kashperuk
Участник
Аватар для kashperuk
MCBMSS
Соотечественники
Сотрудники Microsoft Dynamics
Лучший по профессии 2017
Лучший по профессии 2015
Лучший по профессии 2014
Лучший по профессии 2011
Лучший по профессии 2009
 
4,361 / 2084 (78) +++++++++
Регистрация: 30.05.2004
Адрес: Atlanta, GA, USA
Такой же совет дается в комментариях к моему сообщению здесь
http://kashperuk.blogspot.com/2010/0...owser-and.html
Старый 14.07.2010, 11:35   #4  
Ivanhoe is offline
Ivanhoe
Участник
Аватар для Ivanhoe
Лучший по профессии 2017
Лучший по профессии 2015
Лучший по профессии 2014
Лучший по профессии AXAWARD 2013
Лучший по профессии 2011
 
4,143 / 2155 (80) +++++++++
Регистрация: 29.09.2005
Адрес: Санкт-Петербург
Действительно, стало быстрее. На заметку.
__________________
Ivanhoe as is..
Старый 12.09.2010, 21:10   #5  
mazzy is offline
mazzy
Участник
Аватар для mazzy
Лучший по профессии 2015
Лучший по профессии 2014
Лучший по профессии AXAWARD 2013
Лучший по профессии 2011
Лучший по профессии 2009
 
29,472 / 4494 (208) ++++++++++
Регистрация: 29.11.2001
Адрес: Москва
Записей в блоге: 10
интересно, а есть ключи при запуске аксапты (сервера или клиента), чтобы отрубить эту "опцию" для всех форм. Если честно, то задолбало...
__________________
полезное на axForum, github, vk, coub.
Теги
ax2009, грид, скорость, тормоза, форма

 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Leon's CRM Musings: How to Find the Total Number of Records in an Account, Contact or Lead view Blog bot Dynamics CRM: Blogs 0 01.07.2010 10:05
CRM DE LA CREME! Some more useful javascripts for MS CRM Blog bot Dynamics CRM: Blogs 0 04.05.2010 11:05
emeadaxsupport: How to set the number sequence for Global Address Book when virtual companies are used Blog bot DAX Blogs 0 24.08.2009 14:05
Jim Wang: Show both active and inactive records in the lookup view Blog bot Dynamics CRM: Blogs 0 30.04.2009 02:08
Говорят вышел SP2 для Axapta 3. Кто нибуть что знает на эту тему? soin DAX: Прочие вопросы 10 13.10.2003 10:43

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 11:13.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.