[pgAdmin][RM5038] Select2 enhancement - Load items on demand (scroll)

Поиск
Список
Период
Сортировка
От Aditya Toshniwal
Тема [pgAdmin][RM5038] Select2 enhancement - Load items on demand (scroll)
Дата
Msg-id CAM9w-_nEN_PK4Mn+9hyLz-ZC2MGp1XGDjx-1L0J=TCQOOUfxBQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: [pgAdmin][RM5038] Select2 enhancement - Load items on demand (scroll)  (Akshay Joshi <akshay.joshi@enterprisedb.com>)
Список pgadmin-hackers
Hi Hackers,

Attached is the patch to enhance select2 used in pgAdmin. The select2 dropdown will show only a few items when opened initially. On scrolling it will show others. Searching will work as before. This will reduce the number of DOM nodes on page.
Note that, individual controls can disable the behaviour if desired by passing onDemandLoad:false for select2 options. It is enabled by default.

Kindly review.

--
Thanks and Regards,
Aditya Toshniwal
pgAdmin Hacker | Sr. Software Engineer | EnterpriseDB India | Pune
"Don't Complain about Heat, Plant a TREE"
Вложения

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Aditya Toshniwal
Дата:
Сообщение: [pgAdmin][RM5024] Refactoring SQL of Functions and Procedures.
Следующее
От: Aditya Toshniwal
Дата:
Сообщение: [pgAdmin][RM4842] trigger/compound trigger on a partitioned table