Quantcast
Channel: PTC Community : Unanswered Discussions - Windchill
Viewing all articles
Browse latest Browse all 3592

Add a specific document type or "Customize View" in my custom table.

$
0
0

Friends,

 

I need to adda specificdocument typein mycustom table. I believe thatadded"Custom View"I can put afilter anditwould solve.

 

custom menu.jpg

 

Couldyou help me?Mytable iswith the following code:

 

@Override

public ComponentConfig buildComponentConfig(ComponentParams componentParams)

  throws WTException {

   ComponentConfigFactory factory = getComponentConfigFactory();

   TableConfig table = factory.newTableConfig();

   table.setLabel("Lista dos Fornecedores");

   table.setView("/../../netmarkets/jsp/t3827/tableFornecedor.jsp");

   table.setType("wt.pdmlink.PDMLinkProduct");

   table.setSelectable(true);

   table.setShowCustomViewLink(false);

   table.setShowCount(true);

   table.setSingleSelect(false);

   table.addComponent(factory.newColumnConfig("number", true));

   table.addComponent(factory.newColumnConfig("name", true));

   table.setMenubarName ("forntablemenubar");

   return table;

 

Thank you.

Felipe.


Viewing all articles
Browse latest Browse all 3592

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>