This forum is temporaily read-only. All existing discussions remain available for reference. For new questions, bug reports or support requests, please contact us at mail@lmdsupport.com.

LMDGrid: Sort Column

Hi,
I am trying to sort a column in an LMDgrid via the program code after reading in the data.

A click on the header sorts the column, but how do I do this via the program code?

Best regards

Gerd Scholz

Comments

  • You can do it like this:

    procedure TForm20.Button1Click(Sender: TObject);
    begin
      LMDGridTextColumn1.SortKind := skAsc;
    end;
Sign In or Register to comment.