Hi,
I'm using TableFrame to create two identical tables in size, regardless of the data in them.
Table1 contains 5 rows of data, while Table2 contains 3 rows of data. So, when viewing the final output, Table2 should also have 5 rows, with 3 rows of data and 2 rows of empty space.
We need to do that just to make it look neater.
current output:
expected output:
NOTE: Regardless of the data present, both tables should have the same number of rows.
Could anyone please help me with this.
Thanks in advance!
Hi,
This is a WPF question, not ArcGIS Pro SDK question.
Set name for the first frame like x:Name="frame1" and set height for second one like this:
Height="{Binding ActualHeight, ElementName=frame1}"
We created the TableFrames using ArcGIS Pro's built-in functionality; we did not use any WPF concepts to create this table. We only filled the data in the tableFrame.
I hope you get my point.
Thanks.
Set the second frame dimensions to be the same as the first. So something like:
table_frame2.SetHeight(table_frame1.GetHeight());
table_frame2.SetWidth(table_frame1.GetWidth());
Hi @CharlesMacleod I tried it, but it didn't work. Do you know if we can add empty rows from the backend to TableFrame?
I dont think so, sorry.