Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Ui oMatrix collaps

Hi all,

sorry for this question. but I do not understand clearly, when do I use Grid and when matrix.

the Matrix do not have a collapse function as I see.

Are there any rules on best practice?

Again sorry for this question but I just starting with UI's and I have not found so much on this.

Regards

Oliver

Former Member
replied

Hi Oliver,

You usually use matrix object when you are going to display a specific table. You add all the columns you wanna display to the matrix and set its properties. However if you are going to display the result of a query that may have different number of columns  using grid  would be the most efficient.

Assume that you prepared  a form that will show the result of a search operation filtered by the user. You can use grid object. and set the properties of your grid in the code according to your query result. But If you are going to display a specific table you can just use matrix object and bound it to your datasource.

Regards,

Atilla

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question