I’m trying to set a text Alignment for the header of my ShinobiDataGrid.
I tried several different settings without being able to set the textAligment to NSTextAligmentRight.
SDataGridColumn* col = [[SDataGridColumn alloc] initWithTitle:obj];
col.headerCellStyle = [[SDataGridCellStyle alloc] init];
col.headerCellStyle.textAlignment = NSTextAlignmentRight;
// does not work
ShinobiDataGrid * grid = …
grid.defaultCellStyleForHeaderRow.textAlignment = NSTextAlignmentRight;
//does not work, and the problem with this solution is that I cannot have a different header textAlignment for different column
in - (void)shinobiDataGrid:(ShinobiDataGrid *)grid prepareCellForDisplay:(SDataGridCell *)cell
cell.coordinate.column.headerCell.textField.textAlignment = NSTextAlignmentRight;
//does not work as well
Any ideas ?