Hide a column in listcontrol

Hi,

I need to hide one of the columns of a report type listcontrol. What
command do I need to use?

Thanks.

SetColumnWidth(self, col, width) can do this task with width=0?

···

On Apr 26, 2:41 pm, Shansal <sansal.bir...@gmail.com> wrote:

Hi,

I need to hide one of the columns of a report type listcontrol. What
command do I need to use?

Thanks.

I don't think it does. I kept an options file with the visible
columns and allowed the user to change the columns, and then redrew
the entire thing.

I should have done this virtually for speed and memory, but I didn't.
It is possible, but it's a bit of code.

Josh

···

On Tue, Apr 26, 2011 at 7:15 AM, Shansal <sansal.birbas@gmail.com> wrote:

SetColumnWidth(self, col, width) can do this task with width=0?

On Apr 26, 2:41 pm, Shansal <sansal.bir...@gmail.com> wrote:

Hi,

I need to hide one of the columns of a report type listcontrol. What
command do I need to use?

Thanks.

--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en

--
Josh English
Joshua.R.English@gmail.com

Actually, "ListCtrl1.SetColumnWidth(0,0)" statement worked well. I
tried it.

···

On Apr 26, 11:09 pm, Josh English <joshua.r.engl...@gmail.com> wrote:

I don't think it does. I kept an options file with the visible
columns and allowed the user to change the columns, and then redrew
the entire thing.

I should have done this virtually for speed and memory, but I didn't.
It is possible, but it's a bit of code.

Josh

On Tue, Apr 26, 2011 at 7:15 AM, Shansal <sansal.bir...@gmail.com> wrote:
> SetColumnWidth(self, col, width) can do this task with width=0?

> On Apr 26, 2:41 pm, Shansal <sansal.bir...@gmail.com> wrote:
>> Hi,

>> I need to hide one of the columns of a report type listcontrol. What
>> command do I need to use?

>> Thanks.

> --
> To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
> or visithttp://groups.google.com/group/wxPython-users?hl=en

--
Josh English
Joshua.R.Engl...@gmail.comhttp://joshenglish.livejournal.com