Hallo,
i have a gridview and i wanna make only the fixed column on the left not selectable.
I have tried as follows :
-(IGCellPath*)gridView:(IGGridView*)gridView willSelectCellAtPath:(IGCellPath*)path;
{
if (gridView != _griglia || path.columnIndex == 0)
return nil;
return path;
}
but in this case i cannot select two columns, fixed one and also the first column of my grid.
How can i solve this?
Thx
Stefano Giannotta
it worked, thanks a lot!
Mattia,
Did the above solution work for you?
Please let us know
Hi Stefano,
The path, actually has an additional property on it called, isFixed, it's an enum.
So if you want to check and see if the column is fixed left, you would do:
if(path.isFixed == IGGridViewFixedColumnDirectionLeft)
Hope this helps!
-SteveZ