Discussions
Sign In
•
Register
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In with LMD account
Sign In with LMD account
Categories
Recent Discussions
Categories
All Categories
1.1K
NG Controls
28
Announcements
60
LMD IDE-Tools
210
LMD ElPack
373
LMD-Tools
416
Feature Requests
39
In this Discussion
Eugene Balabuev (LMD)
March 2024
LMDGrid: Sort Column
lawefa
March 2024
in
LMD IDE-Tools
Vote Up
0
Vote Down
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
1 Comment
sorted by
Votes
Date Added
Eugene Balabuev (LMD)
March 2024
Posts: 0
Vote Up
0
Vote Down
You can do it like this:
procedure TForm20.Button1Click(Sender: TObject);
begin
LMDGridTextColumn1.SortKind := skAsc;
end;
Sign In
or
Register
to comment.
Comments