Skip to Content
avatar image
Former Member

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    May 27, 2015 at 02:34 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 27, 2015 at 02:52 PM

    Hi Atila,

    ok. As it looks like.. the grid is at any time bond to a data table and there ist no option to add a column i guess.

    but the grid has the option to group and collapse... that the matrix won't have?

    f.ex. I Do have an UDO Document, I would like to show these in a Matrix. one of the Columns is user data ... with a checkbox. that what I'm looking for is a grouping like the grid... so that the user catch the data obviously ....

    there 20 Documents (UDO) to work on. and there are 1 to 10 lines for each document... but not each line have to work on directly... so the user could work on 2 of 10 lines and set the process on this lines. and the last lines maybe later...

    in the second process the 2 finished lines won't be displayed...

    on visibility, a grouping is not bad...

    I tried both... and I suggest using the Matrix, but it would be much more efficient if there was an option to collapse... these lines...

    OK, but I think if I'm right on my suggestion... that I understand what you mentioned.

    Thankx

    and regards

    Oliver

    Add comment
    10|10000 characters needed characters exceeded