Set Sort Order Dynamically
Is it possible to set the sort order of a report dynamically?
In other words, change the columns that make up the sort order.
For example, one time I run the report, I want it sorted by customer number. The next time I run it, I want it sorted by Customer Name. The next time, I want it sorted by Sales Region, and then by Customer Name.
Is it possible to set the sort order dynamically? If so, how?
In other words, change the columns that make up the sort order.
For example, one time I run the report, I want it sorted by customer number. The next time I run it, I want it sorted by Customer Name. The next time, I want it sorted by Sales Region, and then by Customer Name.
Is it possible to set the sort order dynamically? If so, how?
Comments
1, suppose you have 2 textobject, text1 and text2 in databand
2. text1 bound to column [AccCode] and text2 bound to column [AccName]
3. create click event
Tks u, i try
customize Email Template Magento 2 - Enable Canonical Meta Tag Magento 2 - Magento 2 Odoo