Conditional panel not showing in subform grid view

Hi,

I have a panel with multiple rows that are shown or not depending on the value of the preparation type field. The conditional rendering works well but display doesn’t.

In the form view, the field Items SKU is shown when the preparation type is Skull.

If no condition is met, then the field Items is not shown:

However, in the collapsed grid view the field Items does not appear regardless of whether the condition is met or not:

If the row is expanded, the field is shown

I could just leave the form view but the grid view is so much better to see at once all the available preparations for a specimen.

Is there a way to show the conditional panel in the grid view?
Thanks.

Hi @sorosoro,

Thank you for reaching out regarding the issue with the conditional rendering of fields in the grid view.

Unfortunately, fields that are part of panels cannot be displayed in the grid view, as they are ignored in that context. To show specific fields in the grid view, you’ll need to create a separate grid view definition that includes any fields contained within panels. I just wrote some new instructions for Specify 7 that details how to create a new form definition just for grid/table view– see below:

Thanks Grant! I will try that out.