I have a need for a grid that can scroll both horizontally and vertically and can also be sorted via tapping the column headers. Taking a look at the samples attached with Shinobigrid, I see two components, ‘Grid’ and ‘DataGrid’.
The ‘Grid’ samples seem to allow for horizontal scrolling by doing:
//Enable row and column reordering
grid.defaultPermittedDragDirection = SGridDragDirectionBoth;
The ‘DataGrid’ sample seems to allow for sorting by adding a column and setting the sort mode:
SDataGridColumn* nameColumn = [[SDataGridColumnalloc] initWithTitle:@“name”];
nameColumn.sortMode = SDataGridColumnSortModeBiState;
Can I acheive both the horizontal+vertical scrolling and having columns sortable through either component?