The view tab view is pretty plain jane and could definitely use a makeover. At the very least automatic grouping via the grouping attribute would be a good thing to add - but at present it does not. In most applications that I make, I end up overriding the view tab content for my more important tables to show what I want how I want. It is so often the case when I want to show information about related records or add some buttons/functionality to the view tab.
Overriding the view tab can be done via the
block__view_tab_contents() method in the delegate class.
Alternatives to this include overriding the Dataface_View_Record.html template (located in the Dataface/templates directory). E.g. copy that file to your application's templates directory, and make the modifications.
As far as your hopes for #2 goes (making the edit tab default), I haven't tried this feature out in a long time (so hope it still works), but you should be able to set the
default_browse_action
attribute in the conf.ini file.
e.g., to change it to the edit tab you would add the following to the very beginning of your conf.ini file:
- Code: Select all
default_browse_action = edit
Hope this helps
Steve