Im trying to use the PullToAction, but I have issues.
self.myGrid = [[ShinobiDataGrid alloc] init]; self.myGrid.delegate = self; self.myGrid.dataSource = self; self.myGrid.selectionMode = SDataGridSelectionModeRowSingle; self.myGrid.defaultRowHeight = @60; self.myGrid.defaultHeaderRowHeight = @40; self.myGrid.numberOfFrozenColumns = 1; self.myGrid.scrollEnabled = YES; self.myGrid.bounces = YES; self.myGrid.alwaysBounceVertical = YES; self.myGrid.showPullToAction = YES; self.myGrid.pullToAction.delegate = self;
When there are no rows in the grid, the pullToAction cant be triggered. I tried overriding the contentSize of the grid in didFinishLayingOutShinobiDataGrid: but it is not setting it.
The other issue, the PullToAction component does not show anything (No arrow, no animation, none of the text for states). It is working because I get the pullToActionTriggeredAction: delegate method called, but nothing is showing up.