Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1935
How to obtain reference to a gridview section header cell...
posted

I thought gridView cellAtPath: was the way to go, but it appears that all the path variants are for obtaining a row WITHIN a section, rather than the section header itself.

I also considered enumerating gridView visibleCells or gridView pathsForVisibleRows but those didn't seem to contain any section headers even though there are 2 section headers visible at the time.

  • 40030
    Verified Answer
    Offline posted

    Hi David, 

    I believe this will work. 

    IGGridViewSectionHeaderCell* cell = [gridView:grid cellAtPath:[IGCellPath pathForRow:kSectionHeaderIndex inSection:sectionIndex inColumn:0]]];

    We have constants that represent various cells that aren't standard rows. 

    Hope this helps, 

    -SteveZ