That's odd since there is no dynamic code in there that generates the action field: https://bitbucket.org/percious/sprox/src/84c79d98a328/sprox/fillerbase.py#cl-154 Could you check the generated HTML if it's not just hidden somehow?
Am Montag, 6. August 2012 22:32:22 UTC+2 schrieb alonn: > > Don't think this is the problem, since I've got the action field, which is > automatically included unless specifically omitted, my problem is the the > action field doesn't contain delete but only edit > > On Monday, August 6, 2012 9:20:32 PM UTC+3, jeetu wrote: >> >> http://sprox.org/tutorials/table.html >> http://sprox.org/modules/sprox.fillerbase.html >> >> Search for __action__ in the above two links. As you are limiting to some >> fields, __action__ is automatically getting excluded. Try including it in >> the __limit_fields__ and you should be through. >> >> On Monday, 6 August 2012 22:46:57 UTC+5:30, alonn wrote: >>> >>> I need a delete action in a table view in the defaultadmincontroller. I >>> thought that was default behavior but for some reason I'm not getting it. >>> tried customizing from the tutorial but didn't help either: >>> >>> class MyAdminConfig(TGAdminConfig): # overridding the default >>> Time_stamp look >>> class time_stamp(CrudRestControllerConfig): >>> class table_type(TableBase): >>> __entity__ = Time_stamp >>> __limit_fields__ = ['stamp', 'timestamp'] >>> >>> class table_filler_type(TableFiller): >>> __entity__ = Time_stamp >>> __limit_fields__ = ['id', 'stamp', 'timestamp'] >>> >>> I'm quite a newbie with turbogears so maybe I'm missing something obvious >>> >>> and another small question, where can I customize the table css (grid >>> td, .grid th) ? >>> tg 2.1.3 >>> >> -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To view this discussion on the web visit https://groups.google.com/d/msg/turbogears/-/xJfE7UfrVp0J. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/turbogears?hl=en.

