listview

J

juli jul

Hello,
How can I edit items in the list view ? (the cells)
How can I exchange the location of columns in the listview?

Thank you!
 
G

Guest

Hi,

As far as I know the normal listview does not offer that functionality
however you can create your own manager and reorder the columns.

Salva
 
J

juli jul

What about editing?
Isn't it possible to exchange location of column[1] with column[2]?
 
G

Guest

Hi Juli,

You can change columns using the code but not using the GUI. I don't know if
you have a "swap" functions built in. But you can do a column copying to a
temp one and then replacing it.

You have a column collection on the listview, play with it ;)

Salva
 
G

Guest

Hi Juli,

You can change columns using the code but not using the GUI. I don't know if
you have a "swap" functions built in. But you can do a column copying to a
temp one and then replacing it.

You have a column collection on the listview, play with it ;)

Salva
 
G

Guest

Hi Juli,

You can change columns using the code but not using the GUI. I don't know if
you have a "swap" functions built in. But you can do a column copying to a
temp one and then replacing it.

You have a column collection on the listview, play with it ;)

Salva
 
G

Guest

Hi juli jul,

Hello,
How can I edit items in the list view ? (the cells)

listView1.LabelEdit = true;

-but it works only with first column (after second click)
How can I exchange the location of columns in the listview?

listView1.AllowColumnReorder = true;

-it works with: listView1.HeaderStyle!=None and listView1.View==Details
Thank you!

HTH
Marcin
 
J

juli jul

Hello,
I added a this.listView1.LabelEdit=true; in a Form_Load() but I still
can't edit any cell,why?
Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top