?
Solved

Question about the component JvListView

Posted on 2010-09-12
3
Medium Priority
?
946 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 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses
Course of the Month8 days, 20 hours left to enroll

765 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