Giter Club home page Giter Club logo

Comments (5)

dmnfarrell avatar dmnfarrell commented on June 4, 2024

Where did you get the titlerows parameter from?

from tkintertable.

SchuppiM avatar SchuppiM commented on June 4, 2024

@dmnfarrell
Searching for an option to have two column header rows (or two lines in one header row 😊) I came across it in tktable and gave it a shot, thinking it all bases on tkinter so why not. It didn’t produce an error, but also didn’t work….. ☹.
Is there a possibility to have a column header on two lines? At the moment I’m working with \n, it places the text on two lines, but the column header is not adjusting, so it looks crappy now.
Thx for your help.

from tkintertable.

SchuppiM avatar SchuppiM commented on June 4, 2024

@dmnfarrell
Any idea on this?

from tkintertable.

dmnfarrell avatar dmnfarrell commented on June 4, 2024

tktable has nothing to do with this package. your argument might have not given an error because the TableCanvas constructor accepts **kwargs, your parameters then just don't get used. see
https://github.com/dmnfarrell/tkintertable/blob/master/tkintertable/Tables.py
You have wrapping of the column header no. This is implemented in pandastable though.

If you really want to use tkintertable you can subclass the TableCanvas and ColumnHeader classes and implement that behaviour yourself. I don't really add new features to this package now, just maintenance. But if you manage to add features I would be happy to integrate them.

You can see api docs here: http://dmnfarrell.github.io/tkintertable/Tables.html

from tkintertable.

SchuppiM avatar SchuppiM commented on June 4, 2024

Thx for your answer and explanation.
I’m just in Phyton for a bit more than 2 months, so very fare from writing this myself.
But I think it’ll have to do as it is.
I may give it a try when I’m more experienced.

from tkintertable.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.