>You could use code like this for the if-statement in QueryCellInfo.
>
>
>if(e.RowIndex == 2 && e.ColIndex > 0)
>{
> //set row 2 readonly if col 1 is ''bad''
> string s = (e.ColIndex == 1) ? e.Style.Text : this.grid[e.RowIndex, e.ColIndex].Text;
> if( s == "bad")
> e.Style.ReadOnly = true;
>}
>
>
>The point is to get the test value from the style object when the text value cell is being requested, but when some other cell is being requested, you get the test value from the grid.
What is the equivalent for GridGroupingControl ?
Jamâl-Dine DISSOU