?
Solved

Question about the component JvListView

Posted on 2010-09-12
3
Medium Priority
?
954 Views
Last Modified: 2012-05-10
Hi,

I am using a component called JvListView, its a component from
the JEDI VCL. With this component I can make groups.
But I don't know how? I have played with it for hours but
no luck.

Does anyone know how to make groups with the JvListView?

Greetings,

Peter Kiers
0
Comment
Question by:peterkiers
3 Comments
 
LVL 7

Expert Comment

by:samenglish
ID: 33659132
The JEDI components are great, but the documentation is poor. I don't know the answer to your particular question, but I can only recommend that learning about this component suite is best done by making yourself familiar with the demos that come with the download.
0
 
LVL 25

Accepted Solution

by:
epasquier earned 2000 total points
ID: 33660278
1) create groups with the Groups property editor
2) select property GroupView = True
3) with code, assign your items to groups ID
note that when GroupView=True, items not assigned to an existing group ID will not show
// randomly assign items to group 1..2
procedure TForm1.btn2Click(Sender: TObject);
Var i:integer;
begin
 for i:=0 to JvListView1.Items.Count-1 do 
  (JvListView1.Items[i] As TJvListItem).GroupId:=Random(2)+1;
end;

Open in new window

0
 
LVL 1

Author Comment

by:peterkiers
ID: 33660799
Thanks Espasquier.

Peter Kiers
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Integration Management Part 2
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

755 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question