wxGrid (wxPYTHON) rowlabels

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Johnny Geling

    wxGrid (wxPYTHON) rowlabels

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

    Johnny
  • Geiregat Jonas

    #2
    Re: wxGrid (wxPYTHON) rowlabels

    Johnny Geling wrote:[color=blue]
    > I would like use custom labelnames for rows in the wxGrid which I use
    > through wxpython. The SetRowLabelValu e from wxGridTableBase isn't doing
    > anything.
    > Is it posible to use custom rowlabels same as columnlabels?
    >
    > Johnny[/color]
    Yes see the example

    Comment

    • Johnny Geling

      #3
      Re: wxGrid (wxPYTHON) rowlabels

      Geiregat Jonas wrote:
      [color=blue]
      > Johnny Geling wrote:[color=green]
      >> I would like use custom labelnames for rows in the wxGrid which I use
      >> through wxpython. The SetRowLabelValu e from wxGridTableBase isn't doing
      >> anything.
      >> Is it posible to use custom rowlabels same as columnlabels?
      >>
      >> Johnny[/color]
      > Yes see the example[/color]

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

      Any clue

      Johnny

      Comment

      • Brian

        #4
        Re: wxGrid (wxPYTHON) rowlabels

        Johnny Geling <johnny.geling_ removethis_@che llo.be> wrote in message news:[color=blue]
        > I looked at the example but the rowlabels are not changed. The stay 1, 2, 3,etc.[/color]

        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.

        Comment

        • Johnny Geling

          #5
          Re: wxGrid (wxPYTHON) rowlabels

          Brian wrote:
          [color=blue]
          > Johnny Geling <johnny.geling_ removethis_@che llo.be> wrote in message news:[color=green]
          >> I looked at the example but the rowlabels are not changed. The stay 1, 2,
          >> 3,etc.[/color]
          >
          > 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.[/color]

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

          Johnny

          Comment

          • Brian

            #6
            Re: wxGrid (wxPYTHON) rowlabels

            Johnny Geling <johnny.geling_ removethis_@che llo.be> wrote in message news:<bp6ad7$1l 44f6$2@ID-172080.news.uni-berlin.de>...[color=blue][color=green]
            > > 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.[/color]
            >
            > I downloaded the demo tar file but no file as you indicated above.
            > Where can I find it?[/color]

            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?

            Comment

            • Johnny Geling

              #7
              Re: wxGrid (wxPYTHON) rowlabels

              Brian wrote:[color=blue]
              > Johnny Geling <johnny.geling_ removethis_@che llo.be> wrote in message news:<bp6ad7$1l 44f6$2@ID-172080.news.uni-berlin.de>...
              >[color=green][color=darkred]
              >>>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.[/color]
              >>
              >>I downloaded the demo tar file but no file as you indicated above.
              >>Where can I find it?[/color]
              >
              >
              > 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?[/color]

              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

              Comment

              Working...