Skip to Content
author's profile photo Former Member
Former Member

Matrix cell datatype

I have create a matrix and the cell size is default to 20. how can I manually specify the size of each cell?

thanks in advance.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 24, 2005 at 12:31 PM

    Alan,

    if you speak about the size of the data you can write in a cell, it depends on the datsource linked to the column.

    If the column is linked to a DBDatasource, then that would be the size of the fields. If it's a userdatasource, then just change the size in the userdatasource statment.

    I you speak about the size of the cell iteself, I don't think you have acces to the property to modify it. But a SAP guru should confirm this.

    HTH

    Sebastien

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Alan,

      Do you want to set the height or width of the actual cell or column or are you referring to the data size (as suggested by Sébastien?

      You can set the column width of every column on the matrix with

        Dim oColumn As SAPbouiCOM.Column
        oColumn.Width = 50

      Hope it helps,

      Adele

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.