TTMSFMXGrid Columns drag/size problem


After dragging a grid column to another place, sizing the same column gives issues.
There is a mismatch between the original column index and the new index.

I have this issue with Delphi 10.3.2 and the latest version of the components.

Steps to reproduce:
* New Multi-device-application
* Drop a TTMSFMXGrid on the form
* Doubleclick the form to create the FormCreate event.
* Use the code below
* Start the application
* Select column 3:0 and drag to 1:0
* Size column 3:0 (column 1:0 gets resized)
* Size column 2:0 (column 3:0 gets resized)

procedure TForm1.FormCreate(Sender: TObject);
  c, r: Integer;
  TMSFMXGrid1.Options.Mouse.ColumnDragging := True;
  TMSFMXGrid1.Options.Mouse.ColumnSizing   := True;

  for c := 0 to TMSFMXGrid1.ColumnCount - 1 do
    for r := 0 to TMSFMXGrid1.RowCount - 1 do
      TMSFMXGrid1.Cells[c, r] := Format('%d:%d', [c, r]);


We'll investigate this issue as soon as possible.

Hi Pieter,

Thx for the update.

I hope you guys can fix this soon, users are complaining about the issues we have with the grids :-(
Because it's easy to reproduce, finding an fixing the problem might be easy as well.

Issue is fixed, the next version will address this.

Thx Pieter, much obliged.

Your Welcome!