There are two steps to editing the grid view to look different than the subview;
a) create a second view and viewdef for the table
b) point the original table grid viewdef to the newly created table viewdef.
For this example, I will use Preparation, but the steps will be the same for all tables with grid views.
Copy the View for Preparation and paste it in the xml.
Rename the second Preparation view to give it a unique name. Assign that name wherever you see ‘preparation’ in the view.
- Do the same for the Preparation Viewdef, changing the name in both the formtable and form viewdef.
Modify the duplicated form’s viewdef to take out whichever fields you do not want to see in the grid view on the data entry forms. You can also change the order of appearance here.
Once the form has the fields you want to see and has removed the fields you do not want to see, change the formtable’s definition to the duplicated viewdef’s name.
- Save the changes.