It's not clear if you're using one of the built-in expansion modes or not, but if it's one of the built-in modes, look at the docs for the AutoChild used by that mode and you can configure styling and/or properties for the created component to get rid of indent.
However, if the data columns are exactly the same in your expansion, then you probably don't want to use expandable records, because you have basically ended up reinventing the TreeGrid, except extremely inefficiently, because every time you open what should have been just a folder, you're creating a nested grid component and fetching separate data.
Both Grid has same Columns, We didnt used Built-in Modes. We have Used a Custom Grid Component which is same as parent.
Parent Grid will show Cumulative SUM
Child(Expand Grid) Show Separate value for the SUM of Parent
We've just exposed two internal properties, ListGrid.embeddedComponentMargin, which applies margin on all sides of the child-component, and ListGrid.expansionIndent (which affects the left offset of the inner-grid, or the right-offset in RTL mode) and defaults to the width of the expansionField).
You didn't mention your version (we always need that information), but you can use those new attributes in builds of 12.1 or 13.0, dated February 22 or later.
If you set both of these to zero and you still don't have what you need, we'll need to see code we can run to see the problem - your image is a little confused and your sample code has no fields, DataSources or data, for example.
Comment