Skip to main content
12-Amethyst
July 4, 2022
Question

How to add information button in table builder to show the information about that object

  • July 4, 2022
  • 1 reply
  • 3234 views

I have added this but not working

 

ColumnConfig c6= ccf.newColumnConfig("infoPageAction", true); //for i button
c6.setInfoPageLink(true);
c6.setDefaultSort(true);
tc.addComponent(c6);

1 reply

HelesicPetr
22-Sapphire II
22-Sapphire II
July 7, 2022

Hi @RS_10128209 

Something has to be wrong in your code. 

create columnconfig is correct. Add the compotnent to the table config is correct.

why do you try to sort by an infobutton? 

 

Following example works for me perfectly.

tableConfig.addComponent(configFactory.newColumnConfig("infoPageAction", true));

try to debug the code by stopping the method line by line and control what is in tableConfig object

 

PetrH

12-Amethyst
July 7, 2022

Thanks @HelesicPetr for reply 

but its creating blank column with only name 

RS_10128209_0-1657195675473.png

 

HelesicPetr
22-Sapphire II
22-Sapphire II
July 7, 2022

Hi @RS_10128209 

What version do you use?

What kind of object is show in the table? is it your type or some general type?

Is it Link object or is it normal object as WTPart. 

 

Depends on your configuration. I guess that you will need to define own DataUtility which creates correct information button because OOTB DU can not find correct object to build the button. 

 

PetrH