Solved

Question about the component JvListView

Posted on 2010-09-12
3
923 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 500 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

910 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now