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

Collapse matrix.

Hi all,

i want to collapse lines in matrix. In the form 65 in SAP, i see it was possible but i don't find the way to do that.

(I search in this forum and in the SDK's help)

With grid, it was possible but i can link column to an object type. and in matrix i can link column to object type but i can't collapse lines.

Are there someone who have doing the same thing (collapse lines), can you give some codes to do that ?

Thanks for your response.

Best regards.

Michael

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on Jan 17, 2008 at 04:17 PM

    hi michael,

    i know you cant make a link in a grid cell.

    but collapse only works in grids.

    so i think there's no solution - but someone can correct me when iam wrong 😊

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 18, 2008 at 04:14 AM

    Hi Machael,

    Both your requirements can be fullfilled by using grid.

    You can assign a column to object type as well you can have collapse level

    There is one sample on grid collapse level in SDK samples

    i am giving you the code how to link a grid column to a object type

    Dim objGridColumn as Sapbobuicom.gridcolumn

    objGridColumn =objGrid.Columns.Item(0)

    'Here you set the properties for that column

    objGridColumn.Width=100

    objGridColumn .LinkObjecttype=

    Hope it helps you

    Regards

    Vishnu

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 18, 2008 at 10:59 AM

    hi michael,

    i am sorry i made mistake

    you try something like this

    dim oLink as SAPbouiCOM.EditTextColumn

    oLink=oGrid.Columns.Item(0)

    oLink.LinkedObjectType = "17"

    Hope it helps you

    Regards

    Vishnu

    Add a comment
    10|10000 characters needed characters exceeded

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.