This is a strange one. I'm not sure where to look, so hoping you can point me in a direction.
In one class we are showing a ListGrid set to use datasource X. A button in that Canvas opens a separate window with a new form in it that also uses datasource X. Only four of the fields from the datasource are added to the form by creating new FormItems and calling form.setFields().
These fields are flagged as detail="true" in the ds.xml so they are not visible in the ListGrid initially. The problem is they aren't visible in the form either. If I use the collumn picker to show them in the grid, then click the button to show the form then they do show up on the form.
The form fields are also 'inheriting' the width attribute from the ListGridField. If I change the width of the ListGridField then open the form the FormItem width now matches the ListGridField.
Is there something that we could be doing that would cause this? I know we've used similar patterns to this elsewhere but haven't run into this problem.
In one class we are showing a ListGrid set to use datasource X. A button in that Canvas opens a separate window with a new form in it that also uses datasource X. Only four of the fields from the datasource are added to the form by creating new FormItems and calling form.setFields().
These fields are flagged as detail="true" in the ds.xml so they are not visible in the ListGrid initially. The problem is they aren't visible in the form either. If I use the collumn picker to show them in the grid, then click the button to show the form then they do show up on the form.
The form fields are also 'inheriting' the width attribute from the ListGridField. If I change the width of the ListGridField then open the form the FormItem width now matches the ListGridField.
Is there something that we could be doing that would cause this? I know we've used similar patterns to this elsewhere but haven't run into this problem.
Comment