I am not using one of the out-of-box datasource helpers. I am implementing various methods on the IGGridViewDataSource and IGGridViewDelegate protocols.
I assumed that this would be the method I need to implement to return the column header...
-(IGGridViewHeaderCell *) gridView:(IGGridView *)gridView headerCellAt:(NSInteger)column
... and I've done so, but the method never gets called.
So my grid is showing all the data, but no column headers.
Any ideas what I'm doing wrong?
Thanks
Great glad you figured it out.
Was just about to attach a sample :)
-SteveZ
Well Steve, it got a little closer, but still not quite there.
After implementing the method you suggested, it moved the grid down (A) apparently to make room for the headers, but they still aren't displaying.
Is there something else I might need to implement?
EDIT: NEVERMIND, IT WORKS. I had a mistake in the 'headerCellAt' method that wasn't creating the header cells, and was just returning nil. All is working now.
Hi David,
Looks like a bug in the grid.
Its expecting you to implement the following method as well.
-(NSString *)gridView:(IGGridView *)gridView titleForHeaderInColumn:(NSInteger)column
This shouldn't be a requirement though, so I'll fix this for the next SR. But in the meantime, just implement this method, and you can just return nil.
Thanks for reporting this!