Wow! Great!

And many thanks for the superfast reply!




On 3 Apr., 17:57, Massimo Di Pierro <massimo.dipie...@gmail.com>
wrote:
> You can already do:
>
> db.table.field.extra = {}
>
> "extra" is not a keyword but you can attach attributes to a field
> object. You can do it with tables too but they must be preceded by and
> underscore to avoid naming conflicts with fields:
>
> db.table._extra = {}
>
> Massimo
>
> On Apr 3, 10:51 am, Marcel Luethi <marcel.lue...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Hello.
>
> > I'm trying to implement common grid operations (with Ext JS,
> > GridPanel) for all tables in my app.
> > Now I would need some extra info on table and field levels as hints,
> > ex. default sort order of a table, column width of a field.
>
> > The easiest way would be to have a "extra" argument in gluon.dal.Table
> > and gluon.dal.Field in which I could store all the associated info.
> > Otherwise I have to store it in separate place, not directly related
> > to the tables & fields.
>
> > What do you think about this?
> > Good or not necessary?
>
> > Thanks for your feedback!
>
> > Regards,
> > Marcel

Reply via email to