Solved

Question about the component JvListView

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

758 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

22 Experts available now in Live!

Get 1:1 Help Now