E.g. I have a table product, and a joined column productInventory, productInventory has property quantity, so on the datatable, I will display all columns on product table AND quantity from productInventory table.
When I click on the quantity header, the table is not sorted by productinventory.quantity.
How to perform an orderBy on a joined column?
E.g. I have a table product, and a joined column productInventory, productInventory has property quantity, so on the datatable, I will display all columns on product table AND quantity from productInventory table.
When I click on the quantity header, the table is not sorted by productinventory.quantity.
how I can do that?
thanks