ListSelect with two captions

I use a ListSelect to show the options.I have a title of my template as display name but I want to add one more property (id) from templateContainer to display. How can I do it?

ListSelect select = new ListSelect("Templates", templatesContainer);
select.setItemCaptionPropertyId("title");
//add one more property(?)

Hello Sergey,

If I understood correctly, you want to display two columns? I’d probably recommend using a table instead then.