cancel
Showing results for 
Search instead for 
Did you mean: 

How to display master column of TREE GUIBB as checkbox?

0 Kudos

Does anybody know? Thanks.

 

It seems that it is possible from FPM Developer guide.

Master Column Display Types

: It is possible to configure different display types for the master column in a Tree UIBB using FPM's configuration editor. To pass the data or to maintain the cell level properties of the master column (for example, Tooltip  Enabled

), you must specify the particular ...REF

Accepted Solutions (0)

Answers (2)

Answers (2)

NeeleshJ
Advisor
Advisor
0 Kudos

Hi Amy,

As per my understanding you want to know-

Que 1. how to configure different display types for the master column in tree?

2. how to pass cell level properties for master column in tree?

Here are my answers-

Ans for Que 1-

Of course you can do it at component configuration level-

so here you can choose relevent display type for your master column.

Ans for Que 2-

For setting cell level properties you can do it in two ways-

1. fixed values- if you want to set fixed tooltip, text, or visibility for all tree element's master column-

     you can set respective properties in get_deffination() of your tree UIBB-

  • TOOLTIP
  • TEXT
  • VISIBILITY etc.

2 if you want to have different tooltip and text or visibiliyt etc at run time for each row-

    then you have to set the column reference in get_definition() of your tree UIBB-

  • TOOLTIP_REF
  • TEXT_REF
  • VISIBILITY_REF etc.

for example in your tree list you have a column called "'MASTER_TOOLTIP'", in which you will store row level tooltip, then for master column you have to set this column ref to tooltip ref-

     <fpm_tree_descr>-tooltip_ref = 'MASTER_TOOLTIP'.

Hope this info. might help you.

Regards,

Neel

Former Member
0 Kudos

Hi Amy,

  

   The master column can be displayed as checkbox,refer to the code below.

    

Method : get_definition

   ls_field_descr-name = 'CHECK_BOX'.

   ls_field_descr-read_only_ref = 'CB_RO_REF'.

   APPEND ls_field_descr TO et_field_description.

CB_RO_REF is of type boolean, depending upon its value the checkbox is checked or unchecked.

0 Kudos

Hi Manoj Kumar,

Thanks for your reply.

I have these code in get_definition. But the master column is now displayed as checkbox.

And also, there is no such option to show master column as checkbox in component configuration page.

Is there any other code necessary, e.g in get_data() ?

Please advise further. Thanks.

Best Regards, Amy