From: | Dave Page <dpage(at)pgadmin(dot)org> |
---|---|
To: | Surinder Kumar <surinder(dot)kumar(at)enterprisedb(dot)com> |
Cc: | pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org> |
Subject: | Re: [pgAdmin4][Patch]: RM#1243 - Columns on the Query Tool should be sizeable |
Date: | 2016-05-27 11:13:24 |
Message-ID: | CA+OCxox5htt8AWkG3Xjb8Ha2-gG-mjCWwmrdoHDKL2D5O2nTCg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
Hi
On Fri, May 27, 2016 at 12:07 PM, Surinder Kumar
<surinder(dot)kumar(at)enterprisedb(dot)com> wrote:
> Hi
>
> Added support for Columns resizable in query tool. It allows user to resize
> the table columns as much as needed.
>
> We are using Backgrid Sizeable Columns plugin:
> https://github.com/WRidder/backgrid-sizeable-columns
>
> with one change in library on line no 185:
> moved the following trigger event out of if condition:
>
> if (newWidth != oldWidth) {
>
> }
>
>
> and added one additional parameter offset.
> //Trigger event
>
> view.columns.trigger("resize", columnModel, newWidth, oldWidth, offset);
>
>
> We are listening to this trigger event in sqleditor.js file where we need
> offset
> to calculate new table width on every resize event.
Please ensure any changes to third party libraries are submitted upstream.
> hence, here is the patch attached.
ENOATTACHMENT!
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From | Date | Subject | |
---|---|---|---|
Next Message | Surinder Kumar | 2016-05-27 11:13:32 | Re: [pgAdmin4][Patch]: RM#1243 - Columns on the Query Tool should be sizeable |
Previous Message | Surinder Kumar | 2016-05-27 11:07:37 | [pgAdmin4][Patch]: RM#1243 - Columns on the Query Tool should be sizeable |