GForce
04-07-2006, 08:39 AM
I am working with a Read-Only DataGrid Control and it is giving me fits. I just want the User to select a Record from a Table using Sorting and Filtering capabilities rapidly available to DataViews and DataGrids. I therefore select the set dgTable.Select(dgTable.CurrentRowIndex) in the CurrentCellChanged Event.
The problem is that the control paints the Cell as if it were active for editing, despite the fact that the ReadOnly Property is set to True. Therefore I get a nice solid Blue Record Hightlight, interrupted by Grey/Brown Cell Active for Editing indication. Though it will not allow me to update the cell, at least that much is correct. See the attached JPEG for the Ugly user Interface...
I am new to .NET, but I have tried all the Properties I can think of, please make suggestions...
The problem is that the control paints the Cell as if it were active for editing, despite the fact that the ReadOnly Property is set to True. Therefore I get a nice solid Blue Record Hightlight, interrupted by Grey/Brown Cell Active for Editing indication. Though it will not allow me to update the cell, at least that much is correct. See the attached JPEG for the Ugly user Interface...
I am new to .NET, but I have tried all the Properties I can think of, please make suggestions...