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


#1

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,

tommy

sort icons

grids gallery


#2

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: https://www.shinobicontrols.com/forum/shinobicontrols/2013/5/change-the-sorting-indicator-icon-in-datagrid

Wg