Skip to main content
Question

How to Hide Empty Rows and Columns in the Add Matrix Items Grid (SO301000)?

  • July 28, 2026
  • 2 replies
  • 58 views

Forum|alt.badge.img+3

Hello Acumatica,

Hide the rows and columns in the Matrix Item grid when there are no corresponding inventory variants or all matrix cells are empty.

If a row or column has no valid Attribute values, I want it to be hidden instead of being displayed with empty cells.

Any guidance or sample implementation would be greatly appreciated. Thank you!

2 replies

jinin
Pro I
Forum|alt.badge.img+12
  • Pro I
  • July 30, 2026

Hi ​@SaiKrishnaV ,

Try to extend `MatrixEntryExt` and override `GetMatrixAttributeValues()`. That method supplies the attribute values the panel turns into rows and columns — prune what it returns and the empty rows/columns are never built.

- The extension class must live in the `PX.Objects.IN.GraphExtensions.SOOrderEntryExt` namespace. The base type resolves relative to it and won't compile anywhere else.
- Extend `MatrixEntryExt`, not `SmartPanelExt`.
 


Forum|alt.badge.img+3
  • Author
  • Captain I
  • July 31, 2026

@jinin Thanks for the input! I will give it a try.