[using Sp-7.11.1 at the time of writing]
Hi there,
I configured the preparation subview in order to display grid/table view by default:
<row>
<cell type="subview" viewname="Preparation_4" id="8" name="preparations" colspan="14" rows="3" defaulttype="table"/>
</row>
It works as intended:
Nonetheless, the preparations are expanded by default, and I would like them collapsed by default:
I searched carefully in the Editing Forms in Specify and Github issues, but I found nothing relevant for that matter.
I tried to play around with the view
definition, by setting the Preparation Table view as the default one, without much success:
<view name="Preparation_4" objtitle="Preparation" class="edu.ku.brc.specify.datamodel.Preparation"
busrules="edu.ku.brc.specify.datamodel.busrules.PreparationBusRules">
<altviews>
<altview name="Preparation_4 View" viewdef="Preparation_4" mode="view" />
<altview name="Preparation_4 Edit" viewdef="Preparation_4" mode="edit" />
<altview name="Preparation_4 Table View" viewdef="Preparation_4 Table" mode="view"
default="true" />
<altview name="Preparation_4 Table Edit" viewdef="Preparation_4 Table" mode="edit" />
</altviews>
</view>
Is there a way to achieve collapsed grid/table view by default please?