Re: [pgAdmin4][Patch]: Backgrid StringDepsCell
От | Ashesh Vashi |
---|---|
Тема | Re: [pgAdmin4][Patch]: Backgrid StringDepsCell |
Дата | |
Msg-id | CAG7mmozs_bVt0qRqQZiD42HjAAFFZ6LT6j5tn_UbZ=aWvfptGA@mail.gmail.com обсуждение исходный текст |
Ответ на | [pgAdmin4][Patch]: Backgrid StringDepsCell (Khushboo Vashi <khushboo.vashi@enterprisedb.com>) |
Ответы |
Re: [pgAdmin4][Patch]: Backgrid StringDepsCell
|
Список | pgadmin-hackers |
Hi Khushboo,
I am reluctant to use this code as it is.
I would prefer you create just helper functions (i.e. initialize, remove) for the dependents in Backgrid.Cell, and then use them directly from the different cell itself.
Because - this functionality limits us to us only with the string type.
Because - this functionality limits us to us only with the string type.
Anyway - we will be using the dependent functionality for very attributes.
You can extend them directly in the Node's model (schema).
On Wed, Mar 30, 2016 at 6:39 PM, Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote:
Hi,Please find the attached patch for the Backgrid StringDepsCell.The StringDepsCell displays HTML escaped strings and accepts anything typed in.
Also, Listen to the dependent fields.Usage of the Backgrid Cell:If the Precision cell is dependent on the Datatype then:{
id: 'precision', label:'{{ _('Precision') }}', type: 'test'
cell: Backgrid.Extension.StringDepsCell, deps: ['datatype']}
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
В списке pgadmin-hackers по дате отправления: