Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
Friends,
I need add checkbox "select rows" in my customized table:
The class that I'm moving is as follows:
@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.addComponent(factory.newColumnConfig("number", true));
table.addComponent(factory.newColumnConfig("name", true));
table.setMenubarName ("forntablemenubar");
return table;
Can you help me?
Felipe Oliveira.
Solved! Go to Solution.
table.setSelectable(true);
Thank you Vasiliy,
Besides this, I also added the counter:
table.setShowCount(true);
It was perfect .
Felipe.