I think I've uncovered a problem trying to set an editor in a DataGrid header cell (to implement filtering). When trying to begin editing the DataGridCellController is causing an exception because it's firing a BeginEditRow call into the grid and
then in turn into the DataSource itself. I think the BeginEditRow should handle not sending this onto the DataSource or the controller itself should not send this event for headers since the datasource (like BoundList) will fail with an index out of bounds
exception trying to edit something not present.
To test it I removed the DataGridCellController (i know bad idea) and editing started fine. Since BeginEditRow isn't virtual (can't change) and I don't know that it's best to create a custom BoundList just for this I can't easily change this without
jumping out to a custom DataGridCellController implementation that I add right after I remove the one added in the DataGrid constructor.
Am I missing something or is this indeed a problem?