Announcement

Collapse
No announcement yet.

No way to set a function for sorting a Grid object?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • No way to set a function for sorting a Grid object?

    Hi. When you use the Table Sort function you can define a function how it should be sorted. I searched for something similar for the Grid object but it seems you can only define if it is sorted ascending or descending. But this creates some weird sorting. It shows 10 and 11 directly after 1 if you sort a column containing numbers. And when I sort a column with names in it it seems "Anton" is not before "Bernd". Is there no way to set how it will sort it?
    Bl4ckSh33p-Soft - Custom Software and Indie Games

  • #2
    You can create a table containing rows then draw the grid reflecting the table then sort the table how you want and redraw the grid.

    Comment


    • #3
      i have provided some Grid sorting functions in the past here

      maybe one of them might help you
      amsplugins.com Is Closed.

      Facebook Page

      Comment

      Working...
      X