Collapse grid view by default?

[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 :face_with_monocle: 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>

:red_question_mark: Is there a way to achieve collapsed grid/table view by default please?

Hey @pverley, I actually started experiencing the same issue after making an edit to one of our preparation table view defs 2 weeks ago. All I did was remove a single field from both the expanded and collapsed view def xml, but for some reason, it always displays as expanded by default now. I tried reverting it to what I had previously, and it also didn’t seem to work.

If you find a solution please let me know! And if not, Specify team, we want to know how to fix this too. :slight_smile: