Re: [pgAdmin4][Patch]: Backgrid cell editable settings

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Khushboo Vashi <khushboo(dot)vashi(at)enterprisedb(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [pgAdmin4][Patch]: Backgrid cell editable settings
Date: 2016-03-03 14:05:02
Message-ID: CA+OCxoyWecfr0PVYxWCD+pCgjnHdyyiUA0NqdHAJbF8tZd=qqA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Thanks - applied.

On Thu, Mar 3, 2016 at 6:44 AM, Khushboo Vashi
<khushboo(dot)vashi(at)enterprisedb(dot)com> wrote:
> Hi,
>
> In the current Backgrid implementation, the cell can be made editable
> through "editable: true/false" settings. It takes only boolean value.
>
> So, added support for the function, that can be set as an editable option
> value.
>
> For Example:
>
> editable: function(m) { return false; }
>
> Please find attached patch for the same.
>
> Thanks,
> Khushboo
>
>
>
>
>
> --
> Sent via pgadmin-hackers mailing list (pgadmin-hackers(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-hackers
>

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2016-03-03 14:08:34 pgAdmin 4 commit: Security Labels, Privileges and Variables macros for
Previous Message Dave Page 2016-03-03 14:04:55 pgAdmin 4 commit: In the current Backgrid implementation, a cell can be