![]() |
#4 |
Молодой, подающий надежды
|
А можете более развернуто пояснить свою точку зрения? Для того, чтобы обновить поле-чекбокс, которое выведено только на грид и сделано через edit-метод (и маркированные записи хранятся в Set) по идее этого метода должно быть достаточно, по предоставленной ссылке есть четкое его описание, а так же ограничение. Подходит или нет, каждый решает исходя из поставленных задач и целей. На всякий случай приведу описание тут:
Цитата:
Сообщение от Blog bot
![]() Источник: http://kashperuk.blogspot.com/2010/0...-research.html
refreshEx Does a redraw of the grid rows, depending on the optional argment for specifying the number of the record to refresh (and this means the actual row number in the grid, which is less useful for AX devs). Special argument values include -1, which means that all records will be redrawn, and -2, which redraws all marked records and records with displayOptions. Default argument value is -2. This method should be used sparingly, in cases where multiple rows from the grid are updated, resulting in changes in their displayOptions, as an example. So you should avoid using it as a replacement for refresh(), since they actually have completely different implementations in the kernel. Also, note, that refreshEx() only redraws the grid, so the controls not in the grid might still contain outdated values. Refresh() updates everything, since this is its intention. Источник: http://kashperuk.blogspot.com/2010/0...-research.html Последний раз редактировалось pedrozzz; 15.09.2015 в 13:05. |
|