Solved

Question about the component JvListView

Posted on 2010-09-12
3
940 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

705 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