contentreich-alfresco-datalists icon indicating copy to clipboard operation
contentreich-alfresco-datalists copied to clipboard

Datalists are not updated properly

Open ghost opened this issue 9 years ago • 3 comments

Alfresco Community 5.0.d It seems the current list ist not updated properly. New Items to a datalist are not added to the list immediately, only after refresh. Also when changing from one list to another, first an empty list is shown and after a while the entries appear or in some cases the list even stays empty.

ghost avatar Dec 07 '15 18:12 ghost

The dataTable.addRow adds the new row to the end of the recordset, which means that if there are more pages than one in the resultset the adding wont show. One thing we have done for some customers is to subclass the onDataItemCreated-method and add the row at the top instead, this way the user gets better feedback.

this.widgets.dataTable.addRow(item, 0);

billerby avatar Dec 14 '15 08:12 billerby

This is not the problem here. It happens in new lists with only one page.

ghost avatar Dec 15 '15 21:12 ghost

I have the same problem. The first item is added successfully and the list is updated. The second, third... item doesn't appear in the list. After refreshing the page the items appears.

tatatanja avatar Jan 05 '16 14:01 tatatanja