
Новые сообщения [новые:0]
Дайджест
Горячие темы
Избранное [новые:0]
Форумы
Пользователи
Статистика
Статистика нагрузки
Мод. лог
Поиск
|
|
08.05.2019, 20:47
|
|||
|---|---|---|---|
CXGrid view.DataController.RecNo дает не верное значение, или |
|||
|
#18+
очередной последний штрих, и вижу, что не получилось как сразу сделать выделение строки если я нашел запись if view.DataController.DataSource.DataSet.Locate('FIELDNAME','value',[])=true then сделать ViewData.Rows selected ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|
08.05.2019, 21:58
|
|||
|---|---|---|---|
|
|||
CXGrid view.DataController.RecNo дает не верное значение, или |
|||
|
#18+
yemets63, Код: pascal 1. 2. 3. 4. 5. TcxDBDataController.LocateByKey(c) DevExpress TcxDBDataController.LocateByKey TcxDBDataController -------------------------------------------------------------------------------- Finds and focuses the record containing the specified key field values. Syntax function LocateByKey(const AKeyFieldValues: Variant): Boolean; Description This function locates the record with the specified key field value(s). The AKeyFieldValues parameter should specify a variant or an array of variant values corresponding to the key field(s) set via the KeyFieldNames property. The function returns True when the appropriate record is found and focused (in ExpressQuantumGrid, the view's OnFocusedRecordChanged event is fired when changing the focused record). If the record doesn't exist or no key field names are assigned, LocateByKey returns False. The LocateByKey function does not force the reloading of dataset data, since it searches its internal buffer. The dataset's Locate method also allows you to locate records with specific criteria. However, each call of Locate forces the data controller to reload data from the dataset, thus slowing down performance, especially for large datasets. To prevent data reloading when moving the cursor within the dataset, you can enclose call(s) to Locate within the BeginLocate and EndLocate methods. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|

start [/forum/topic.php?fid=58&mobile=1&tid=2039498]: |
0ms |
get settings: |
9ms |
get forum list: |
15ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
426ms |
get topic data: |
10ms |
get forum data: |
2ms |
get page messages: |
41ms |
get tp. blocked users: |
1ms |
| others: | 233ms |
| total: | 745ms |

| 0 / 0 |
