author Carlos Aristu <carlos.aristu@openbravo.com>
Mon, 08 Aug 2016 12:32:51 +0200
changeset 30074 768f34426413
parent 21756 e8f73de22697
child 31086 691f92a3ac85
permissions -rw-r--r--
fixes issue 33588: extra DS calls having summary functions and lazy filtering

When working with the grid having summary functions, several flows were performing datasource requests for recalculating the summaries:
- Open a tab having a grid that already contains a summary function.
- After saving a new record
- After updating an existing record
- After deleting a record
- After switching into form view and saving the record
- After selecting/replacing a summary function

Having the summary row displayed during those actions, Smartclient was recalculating the grid automatically. Now, if the lazy filtering is enabled, the summary row is hidden to prevent the recalculation. Thus, the summary function will be recalculated once the filter/sorting action is requested by the user.
<?xml version="1.0" encoding="UTF-8"?>