Coder Social home page Coder Social logo

Comments (6)

Bouni avatar Bouni commented on June 18, 2024 1

Just a quick update:

I added natural sort in the upcoming version that relies on sqlite instead of CSV and it seems to work as expected.

https://github.com/Bouni/kicad-jlcpcb-tools/blob/major-refactor/helpers.py#L16-L23
https://github.com/Bouni/kicad-jlcpcb-tools/blob/major-refactor/store.py#L55-L65

image

from kicad-jlcpcb-tools.

Bouni avatar Bouni commented on June 18, 2024

This is the natural behaviour if wx.dataview.DATAVIEW_COL_SORTABLE is set for a column.
To my knowledge it is not possible to specify a custom sort algorithm to get a proper order.
I've read somewhere that a custom mixin class can be used for that, but I have not the slightest ide how to do that 😅

Maybe I can find mor info about this and implement it if so ...

from kicad-jlcpcb-tools.

arturo182 avatar arturo182 commented on June 18, 2024

I haven't used wxpython that much but I think this might be something: https://stackoverflow.com/a/56689103

from kicad-jlcpcb-tools.

bvernoux avatar bvernoux commented on June 18, 2024

See my issue comment about that https://github.com/Bouni/kicad-jlcpcb-tools/discussions/74#discussioncomment-1705436

from kicad-jlcpcb-tools.

Bouni avatar Bouni commented on June 18, 2024

@bvernoux Implemented in my latest commit to major-refactor

from kicad-jlcpcb-tools.

Bouni avatar Bouni commented on June 18, 2024

Fixed in 2021.12.1

from kicad-jlcpcb-tools.

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.