I’d like add column to browse which correspond to entity field. I need to do it in java code,
I try to use code like below, but it isn’t work rightly.
MetaClass metaClass = articlesesDs.getMetaClass();
Table.Column column = new Table.Column(metaClass.getPropertyPath("<column name from entity>"));
articlesesTable.addColumn(column);
I use your tip and refresh datasource. Now I have problem because, column caption is in english version. I use in my application other language and
when I add this same column in cuba studio column caption is rightly.
I see then method addColumn not translate column caption .