Does anyone know how can I track the modified item values in my Editable Table??
The table has a BeanContainer datasource and I would like to update it every time an item is edited or added in my table.
It seems simple but I've been searching everywhere and nothing helped me yet, thank you!
The following Code shows my BeanContainer:
`public BeanItemContainer createContainer() {
BeanItemContainer<PS_SECTION> beans = new BeanItemContainer<PS_SECTION>(PS_SECTION.class);
beans.addNestedContainerProperty("PS_SECTION");
beans.addNestedContainerProperty("NAME");
beans.addNestedContainerProperty("VORDER");
for (int i = 0; i < list.size(); i++) {
PS_SECTION section = list.get(i);
Long ps = section.getPS_SECTION();
String na = section.getNAME();
Long is = section.getISACTIVE();
Long isg = section.getISGLOBAL();
Long or = section.getVORDER();
Object itemId = beans.addItem(new PS_SECTION(ps, na, is, isg, or));
}
return beans;
}`