I’m using grid inside the grid. My scenario is in the outer grid in a row i have an Expand image as a first column. By clicking this an inner grid will be displayed. I did this and i got the result. But i’m facing allignment issue. Actually i have the same number of columns in both the grids. When i click the expand icon in a row, the inner grid is not alligned properly to the outer grid.
How to achive this.
The Format i need is like
- Col1 Col2 Col3 Col4—————-Outer Grid
_ Inner Grid Row1 —————————–Inner Grid Row1
Value1_1 Value1_2 Value1_3————Inner Grid Row1 values
Value2_1 Value2_2 Valuew_3 - Inner Grid Row2
_ Value1_1 Value1_2 Value1_3
Value2_1 Value2_2 Valuew_3

How to allign like this.
Thanks In Advance!
I’m assuming that the trouble you are facing is that even though you are using two different grids you would like the column widths to line up. If that’s correct you could use the method:
This method is explained here on the MSDN.
What you can do is either: