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
27
Announcements
60
LMD IDE-Tools
205
LMD ElPack
366
LMD-Tools
398
Feature Requests
35
In this Discussion
Eugene Balabuev (LMD)
March 11
LMDGrid: Sort Column
lawefa
March 8
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 11
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