listview

  • Thread starter Thread starter juli jul
  • Start date Start date
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!
 
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
 
What about editing?
Isn't it possible to exchange location of column[1] with column[2]?
 
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
 
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
 
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
 
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
 
Hello,
I added a this.listView1.LabelEdit=true; in a Form_Load() but I still
can't edit any cell,why?
Thanks!
 
Back
Top