It's only three fields

Posted by GregHiggins on 08-Mar-2018 06:31

The Data Grid Form form puts my fields in 2 columns. It's only 3 fields, I neither need nor want more than 1 column. Is there a way I can control this?

All Replies

Posted by Dustin Grau on 08-Mar-2018 07:55

To avoid returning extra/unused columns, you would need to adjust the physical schema of your temp-table that is being returned from the API endpoint. What you define in your dataset/temp-table _should_ be exactly what your UI expects, no more and no less. And yes, this could mean you have internal temp-tables defined for normal business logic, but could have duplicate/adjusted schema for exposure to the outside world in your business entity.

Posted by GregHiggins on 08-Mar-2018 07:58

No, not coiumns on my table, physical (virtual?) columns on the form.

This is using the Data Grid Form view.

I get:

field1-label field1-input  field2-label field2-input

field3-label field3-input

I want:

field1-label field1-input

field2-label field2-input

field3-label field3-input

Posted by Dustin Grau on 08-Mar-2018 09:00

Sorry, I missed that point. Unfortunately, I don't have an answer for that.

This thread is closed