I have implemented dynamic inventory dimension display functionality on my custom table, thanks to this article: https://daxbeginners.wordpress.com/2014/08/05/how-to-dynamically-display-inventory-dimension/
But now my form is showing items lines for all the dimensions no matter what dimension is currently displayed. I want the record to be group by ItemId and additionally it should be grouped by the dimension values that are currently being displayed in the form, just like on-hand inventory.
Any idea how to achieve this using InventDimCtrl_Frm_EditDimensions class or any other way.