How do I hide columns in a ListView?

Welcome to Wisej Support.
Questions, suggestions and plain old bugs - are all welcome here!
0
0

Hello, I am converting our VWG app to WiseJ.  In VWG, hiding listview columns from view was as easy as newColumn.Visible = false.  But that flag does not exist in WiseJ.

What is the appropriate way of hiding columns from view, but having them accessible programatically?   Thanks, and sorry if this question has already been asked/answered, I just can’t find it.

Andrew

  • You must to post comments
0
0

Hi Andrew,

The ColumnHeader.Visible property is missing, we followed WinForms classes and properties more than VWG and then try to cover the VWG features that make sense and  the ones that we used in our projects 🙂

I have added this as enhancement as WJ-7798. Will be in the next update, it’s quite easy to add.

Best,

Luca

 

  • Andrew Gerdel
    Thanks for your response, Luca.  Do you have an ETA on the next update?  Or can you propose a workaround? Thanks, Andrew
  • Luca (ITG)
    Friday evening. You can also hide it using a javascript call like this this.Eval(“this.gridView.setHeaderCellsVisible(false)”) assuming “this” is the ListView object in .NET.
  • Andrew Gerdel
    Thank you, that’s good to know.
  • Andrew Gerdel
    Followup question: Many of our listview columns also make use of the “Type” property… VWG had an enum named ListViewColumnType with members Text, Image, etc. Any plans to support that?
  • You must to post comments
Showing 1 result
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Attachment
File Name Size
There are currently no files uploaded.
Maximum number of files 5, maximum file size 3.9MB.
Supported file formats: zip pdf gif jpg bmp png cs vb theme json