Thread: Problem when double-clicking to auto-size column in query window

Problem when double-clicking to auto-size column in query window

From
Jack Royal-Gordon
Date:
When I double-click on the column border of the query result window to auto-size a column, I get no resizing and the
followingerror in the log. I get this both with Safari and Chrome. I’m running version 4.1of pgAdmin4. 

Error from Safari:
TypeError: undefined is not an object (evaluating 'b().fromCell’)
    n  sqleditor.js:619264
    (anonymous function) vendor.js: 789612
    trigger  vendor.js: 2206214
    handleHeaderCheck  vendor.js: 2230971
    dispatch  vendor.js: 51259
    (anonymous function)  vendor.js: 1947375

Error  from Chrome:
Uncaught TypeError: Cannot read property 'fromCell' of undefined
    at SlickGrid.n (sqleditor.js?ver=40100:1)
    at i.notify (vendor.js?ver=40100:1)
    at trigger (vendor.js?ver=40100:1)
    at HTMLDivElement.handleHeaderClick (vendor.js?ver=40100:1)
    at HTMLDivElement.dispatch (vendor.js?ver=40100:1)
    at HTMLDivElement.i.dispatch (vendor.js?ver=40100:1)
    at HTMLDivElement.g.handle (vendor.js?ver=40100:1)




Re: Problem when double-clicking to auto-size column in query window

From
Khushboo Vashi
Date:
Hi,

Please use the latest pgAdmin (v 4.26), this issue is not reproducible on it.

Thanks,
Khushboo

On Mon, Sep 28, 2020 at 9:49 PM Jack Royal-Gordon <jackrg@pobox.com> wrote:
When I double-click on the column border of the query result window to auto-size a column, I get no resizing and the following error in the log. I get this both with Safari and Chrome. I’m running version 4.1of pgAdmin4.

Error from Safari:
TypeError: undefined is not an object (evaluating 'b().fromCell’)
        n  sqleditor.js:619264
        (anonymous function) vendor.js: 789612
        trigger  vendor.js: 2206214
        handleHeaderCheck  vendor.js: 2230971
        dispatch  vendor.js: 51259
        (anonymous function)  vendor.js: 1947375

Error  from Chrome:
Uncaught TypeError: Cannot read property 'fromCell' of undefined
    at SlickGrid.n (sqleditor.js?ver=40100:1)
    at i.notify (vendor.js?ver=40100:1)
    at trigger (vendor.js?ver=40100:1)
    at HTMLDivElement.handleHeaderClick (vendor.js?ver=40100:1)
    at HTMLDivElement.dispatch (vendor.js?ver=40100:1)
    at HTMLDivElement.i.dispatch (vendor.js?ver=40100:1)
    at HTMLDivElement.g.handle (vendor.js?ver=40100:1)



Re: Problem when double-clicking to auto-size column in query window

From
Jack Royal-Gordon
Date:
Hi Khushboo,

I can confirm that it appears to work correctly with 4.26. Next time I’ll upgrade before raising the hue and cry.

Thank you.

Jack

On Sep 28, 2020, at 10:14 PM, Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote:

Hi,

Please use the latest pgAdmin (v 4.26), this issue is not reproducible on it.

Thanks,
Khushboo

On Mon, Sep 28, 2020 at 9:49 PM Jack Royal-Gordon <jackrg@pobox.com> wrote:
When I double-click on the column border of the query result window to auto-size a column, I get no resizing and the following error in the log. I get this both with Safari and Chrome. I’m running version 4.1of pgAdmin4.

Error from Safari:
TypeError: undefined is not an object (evaluating 'b().fromCell’)
        n  sqleditor.js:619264
        (anonymous function) vendor.js: 789612
        trigger  vendor.js: 2206214
        handleHeaderCheck  vendor.js: 2230971
        dispatch  vendor.js: 51259
        (anonymous function)  vendor.js: 1947375

Error  from Chrome:
Uncaught TypeError: Cannot read property 'fromCell' of undefined
    at SlickGrid.n (sqleditor.js?ver=40100:1)
    at i.notify (vendor.js?ver=40100:1)
    at trigger (vendor.js?ver=40100:1)
    at HTMLDivElement.handleHeaderClick (vendor.js?ver=40100:1)
    at HTMLDivElement.dispatch (vendor.js?ver=40100:1)
    at HTMLDivElement.i.dispatch (vendor.js?ver=40100:1)
    at HTMLDivElement.g.handle (vendor.js?ver=40100:1)