cancel
Showing results for 
Search instead for 
Did you mean: 

Form settings using grid control

Former Member
0 Kudos

Hi,

I have a Grid object on a form and would like to use the Form Settings button in B1 to manage the columns in the grid. This is very similar to how we can use it on a matrix control.

When i load the form with the grid, the Form Settings button is disabled. I appreciate any help to get this working.

Thanks,

Gopal

Accepted Solutions (0)

Answers (1)

Answers (1)

barend_morkel2
Active Contributor
0 Kudos

Hi Gopal,

For now the SDK does not allow interaction with the form settings object. The form settings object is not exposed to the API. Thus is it not possible to use it for non-system form.

What you can do is desing your own form settings screen to manage your forms, should your client require this functionality.

Former Member
0 Kudos

Barend,

That is not entirely true. If I use a matrix control on a form and set the From.Settings.MatrixUID property to the matrix id, then the the form settings button is enabled and you can see the columns in the matrix.In addition you also get a "Filter" function when you right click on the matrix.

I am not able to do the same with the grid object.

Former Member
0 Kudos

Barend,

I got an answer from SAP Support on how to do this:

1. Set the Form.Settings.Enabled = true

2. Set Form.Settings.MatrixUID = "mygrid"

I tested it and this works.

Gopal