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/-/JDku5hVYyI0J. 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.

