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

[pgAdmin4][Patch]: Backgrid cell editable settings

From
Khushboo Vashi
Date:
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



Attachment

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

From
Dave Page
Date:
Thanks - applied.

On Thu, Mar 3, 2016 at 6:44 AM, Khushboo Vashi
<khushboo.vashi@enterprisedb.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@postgresql.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