qt::ascendingorder problem

  • Hello i have a little problem because i want to sort tableview by column and use this code:


    It's do great job but if cell contains polish letters on first Letter , cell is placed on end tableview.

    Someone have idea, how i can repair it ?

  • @R4leY

    Hi and welcome to devnet forum

    The sorting is based on Latin-1 and the order is given here. That explains probably the ordering you currently see.

    As a solution you probably have to use a custom sort filter model. I am suggesting to have a close look to this example and try to run the example. Unfortunately I do have enough experience to help you right away. However, pleasedo not hesitate to raise questions in the forum when you have trouble to understand.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.