【问题标题】:apex interactive grid SELECT LIST顶点交互式网格选择列表
【发布时间】:2019-10-20 18:43:10
【问题描述】:

我在 apex oracle 中使用交互式网格,所以我必须将列链接在一​​起,并且两列是选定的列表,我尝试使用第一列中的值来获取第二列中的任何相关值

exp :-

--汽车类别

  ID     name 
   1      BMW
   2      HONDA

--汽车清单

   ID   CAR_CAT   NAME
    1     1        X5
    2     1        X6
    3     2        CIVIC

我需要在第一列选择宝马时,数据显示在第二列(X5,X6)

【问题讨论】:

    标签: oracle oracle-apex


    【解决方案1】:

    这就是级联LoV

    select id   display_value,
           name return_value
    from list_of_car
    where car_cat = :CAR_CATEGORY_ID   --> this is a reference to interactive grid's column
                                       --  whose name is (I presume) car_category_id
    

    另外,您需要将“Cascading LOV Parent Column(s)”属性设置为CAR_CATEGORY_ID

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-04-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-12-07
      相关资源
      最近更新 更多