pgAdmin 4 commit: In the current Backgrid implementation, a cell can be

From: Dave Page <dpage(at)pgadmin(dot)org>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: pgAdmin 4 commit: In the current Backgrid implementation, a cell can be
Date: 2016-03-03 14:04:55
Message-ID: E1abTs7-0005Ed-2T@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

In the current Backgrid implementation, a cell can be made editable through "editable: true/false" settings. It takes only a boolean value.

Add support for a function that can be set as an editable option value.

For Example:

editable: function(m) { return false; }

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=789ece89fb3dfba660801b03446c5b8bf6066154
Author: Khushboo Vashi <khushboo(dot)vashi(at)enterprisedb(dot)com>

Modified Files
--------------
web/pgadmin/static/js/backform.pgadmin.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2016-03-03 14:05:02 Re: [pgAdmin4][Patch]: Backgrid cell editable settings
Previous Message Dave Page 2016-03-03 13:39:11 Re: PATCH: Preferences/Options dialog