Rendering large formatted table in C# WPF

1.1k views Asked by At

I am currently doing a C# WPF application that generates a table that does comparison reports. The table is large with formatted background, foreground, etc.

I tried to use Table within FlowDocument, but the processing was slow, and it is almost impossible to scroll. Is there any way that I can solve this issue?

I have looked at data virtualization, but couldn't find anything that is relevant to Table in FlowDocument. FYI, the FlowDocument is simply made up of a large table with numerous formated rows, and it is formed with the use of XamlReader.Load().

Any suggestions to optimize the performance will be welcomed.

1

There are 1 answers

0
Wee On BEST ANSWER

After exploring different alternatives, I have found rewriting the flow document to HTML to be a much better option. It takes a shorter time to load, and there is no issues with scrolling.