473,320 Members | 1,933 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

wxGrid (wxPYTHON) rowlabels

I would like use custom labelnames for rows in the wxGrid which I use
through wxpython. The SetRowLabelValue from wxGridTableBase isn't doing
anything.
Is it posible to use custom rowlabels same as columnlabels?

Johnny
Jul 18 '05 #1
6 2816
Johnny Geling wrote:
I would like use custom labelnames for rows in the wxGrid which I use
through wxpython. The SetRowLabelValue from wxGridTableBase isn't doing
anything.
Is it posible to use custom rowlabels same as columnlabels?

Johnny

Yes see the example

Jul 18 '05 #2
Geiregat Jonas wrote:
Johnny Geling wrote:
I would like use custom labelnames for rows in the wxGrid which I use
through wxpython. The SetRowLabelValue from wxGridTableBase isn't doing
anything.
Is it posible to use custom rowlabels same as columnlabels?

Johnny

Yes see the example


I looked at the example but the rowlabels are not changed. The stay 1, 2, 3,
etc.

Any clue

Johnny
Jul 18 '05 #3
Johnny Geling <jo***********************@chello.be> wrote in message news:
I looked at the example but the rowlabels are not changed. The stay 1, 2, 3,etc.


Take a look at GridDragable.py, in your wxPython demo directory. It
is called from the main demo, and it demonstrates custom rowlabels,
among other things.
Jul 18 '05 #4
Brian wrote:
Johnny Geling <jo***********************@chello.be> wrote in message news:
I looked at the example but the rowlabels are not changed. The stay 1, 2,
3,etc.


Take a look at GridDragable.py, in your wxPython demo directory. It
is called from the main demo, and it demonstrates custom rowlabels,
among other things.


I downloaded the demo tar file but no file as you indicated above.
Where can I find it?

Johnny
Jul 18 '05 #5
Johnny Geling <jo***********************@chello.be> wrote in message news:<bp*************@ID-172080.news.uni-berlin.de>...
Take a look at GridDragable.py, in your wxPython demo directory. It
is called from the main demo, and it demonstrates custom rowlabels,
among other things.


I downloaded the demo tar file but no file as you indicated above.
Where can I find it?


The demo tar should unzip it to wxPython-2.4.2.4\demo.

I just checked the demo tar on the wxPython to be sure (as I installed
from win32 installer which included the demo) and it's in there.

Maybe you have an older demo tar?
Jul 18 '05 #6
Brian wrote:
Johnny Geling <jo***********************@chello.be> wrote in message news:<bp*************@ID-172080.news.uni-berlin.de>...
Take a look at GridDragable.py, in your wxPython demo directory. It
is called from the main demo, and it demonstrates custom rowlabels,
among other things.


I downloaded the demo tar file but no file as you indicated above.
Where can I find it?

The demo tar should unzip it to wxPython-2.4.2.4\demo.

I just checked the demo tar on the wxPython to be sure (as I installed
from win32 installer which included the demo) and it's in there.

Maybe you have an older demo tar?


I think so. I grabbed it from the windows version and found it there.
There are also other intresting features in that demo. Thanks

Johnny

Jul 18 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Tom Lee | last post by:
# # Python 2.2.3, wxWindows/wxPython 2.4.1 # # The code: # from wxPython.wx import * class TestFrame( wxFrame ): def __init__( self ):
5
by: Andrew | last post by:
Hi I just started learning wxPython I wanted to know how I could do this in wxPython self.listbox.delete(0, END) for item in self.results: self.listbox.insert(END, item)
0
by: Piet | last post by:
Hi there, I am currently developping a small app for the purpose mentioned above. The app connects to a MySQL database, can show the properties of tables (which are displayed as a wxGrid) and...
1
by: matthiasjanes | last post by:
dear all, I just need a little help. could anyone give real code example (simple) how to read the value of a grid cell. i could not figure it out and really would like to do a simple...
1
by: James | last post by:
wxpython 2.5.3 hi, anyone know how to make a multiline cell editor for wxgrid? thank you :) best regards, James
1
by: Sam the Cat | last post by:
using "from wxPython.wx import *" under python2.3 I cannot seem to find the wxGrid class -- it says its undefined -- am I missing something obvious ? I know the globalspace import is not the best,...
0
by: fowlertrainer | last post by:
Hi ! I have a little problem with wxGrid. In Delphi I can set in grids how I want to select cells. I can select only individual cells, or ranges. In my program I don't wanna use ranges. But I...
10
by: lux | last post by:
Hi, How can I capture the EVT_SET_FOCUS on a wxGrid? Tank's in advance Luca
6
by: rbann11 | last post by:
Hi, I am looking for example code that consists of just a frame and a grid(10x2). The grid must fill the its parent even if the frame is resized. Thanks in advance, Roger
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.