Re: [pgAdmin][RM3269] Slider jumps up issue in DataView panel

From: Nagesh Dhope <nagesh(dot)dhope(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [pgAdmin][RM3269] Slider jumps up issue in DataView panel
Date: 2020-04-22 12:07:44
Message-ID: CAA3zdZo+NDH+0rQwmmVfRC2Nd5rB4mC7u3PZcOOa6WD-sOpXRg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi Hackers,
The attached patch makes an API call to fetch the next batch of rows only
after a user stops scrolling down(to detect added timeout of 250ms) using
the slider.

On Tue, Apr 21, 2020 at 1:32 PM Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
wrote:

> Thanks, patch applied.
>
> On Tue, Apr 21, 2020 at 12:10 PM Nagesh Dhope <
> nagesh(dot)dhope(at)enterprisedb(dot)com> wrote:
>
>> Hi Hackers,
>> The attached patch fixes an issue where slider jumps up when new rows get
>> loaded while scrolling down in the DataView panel in the query tool.
>> Fix uses *rows_affected *field to create dummy rows (Apart from the
>> first *batch of rows). *Dummy rows will be updated as and when they are
>> required*. *As total required rows are created initially, SlickGrid will
>> not readjust its height when the next batch of rows are loaded. Hence the
>> jump up in the slider will not happen.
>>
>> --
>> Thanks,
>> Nagesh
>>
>
>
> --
> *Thanks & Regards*
> *Akshay Joshi*
>
> *Sr. Software Architect*
> *EnterpriseDB Software India Private Limited*
> *Mobile: +91 976-788-8246*
>

--
Thanks,
Nagesh

Attachment Content-Type Size
RM3269_v2.patch application/octet-stream 3.4 KB

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message navnath gadakh 2020-04-22 12:45:13 Re: [pgAdmin][RM5157] Default sort order at start in view table data by primary key by default
Previous Message Dave Page 2020-04-22 12:04:59 Re: RM4292 - Dark mode support for Windows/macOS