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

How to show ChooseFromList in Matrix

Hi there,

Is there anyone can tell me how to show ChooseFromList

dialog in a column of matrix grid.

I define a ChooseFromList and bind the CFL to a column

use [column.ChooseFromListUID] property, and the matrix

bind with datasource.

the prolem is that CFL can show after press TAB key

in column, but after choose one row, the new CFL dialog

will show again. who have faced the similar problem and

can tell me the tips to work around this problem.


Lanjun Wang

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Oct 05, 2005 at 06:10 AM

    1. SBO 2004 does not allow this functionality. You must build your own "ChooseFromList" to accomplish this.

    2. SAP stated that this functionality will be available in 2005

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 05, 2005 at 06:17 AM

    Sounds like your not test the beforeAction and get the event twice. After adding the CFL to the item do something like this

    if(pVal.ItemUID=="BOY_2" && pVal.EventType == BoEventTypes.et_CHOOSE_FROM_LIST) {
      ChooseFromListEvent cflEvent = (ChooseFromListEvent)pVal; 
      string cflUID = cflEvent.ChooseFromListUID; 
      if(!pVal.BeforeAction) {
        DataTable dt = cflEvent.SelectedObjects;
        if(dt!=null && dt.Columns.Count!=0 && dt.Rows.Count!=0) {
          string værdi = dt.GetValue("ItemCode",0).ToString();
          eventForm.DataSources.UserDataSources.Item("BOY_UDS1").ValueEx = værdi;

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi, there

      Now I find the reason that CFL dialog show more than one times, is because the code:

      cellval = oMatrix.Columns.Item("DSCardCode").Cells.Item(pVal.Row).Specific

      cellval.value = val

      when run Code [cellval.value = val], a new CFL dialog will show, now I will try another way to fill the matrix cell value, so the problem change to other two problems:

      1. How to show the new value to Matrix cell, the Matrix bind with datasource.

      2. After input content in cell which in column that link to CFL, when press Tab Key or leave cell the new CFL dialog always show again.

      If someone know the reason of this problem please give answer.

      Thanks in advance.

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.