DataGrid sort seems to always draw icons in center of header area


I have tried different text alignments on column creation,  but the sort arrows don’t seem to change position.  i also noticed this behavior in the financial grids demo on github.

Also, in the grids gallery sample that is on github,  it appears that there are more professional ( and properly rendering ) sort icons.  I don’t see in that code anything different about the creation.   

thank you,


sort icons

grids gallery


Greetings Program!

You’ll probably want to subclass SDataGridHeaderCell and implement showArrowForSortOrder:sortMode: to customize the arrows.

I’m not sure if this is still possible but you could give it a go: