Hello.
When I try to make a worksheet with several thousands merged cells, my program starts to lag. All kind of operations (scrolling, selecting a cell, etc.) goes very slow.
Here is an example of code in VB .NET:
Public Class Form1
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Dim gridDesktop = New Aspose.Cells.GridDesktop.GridDesktop
gridDesktop.Left = 0
gridDesktop.Top = 0
gridDesktop.Width = Me.Width
gridDesktop.Height = Me.Height
gridDesktop.Parent = Me
Dim i As Integer
For i = 1 To 5000
gridDesktop.Worksheets(0).Cells(i, 1).Value = i
gridDesktop.Worksheets(0).Merge(New Aspose.Cells.GridDesktop.CellRange(i, 2, i, 3))
gridDesktop.Worksheets(0).Cells(i, 2).Value = "TEST"
Next
End Sub
End Class
Is there any way to fix that issue?