cancel
Showing results for 
Search instead for 
Did you mean: 

Matrix cell datatype

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Answers (0)