This is a migrated thread and some comments may be shown as answers.

GridViewNewRowInfo doesn't reflect text in non-editable cell

0 Answers 68 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Aldemar
Top achievements
Rank 1
Aldemar asked on 07 Jul 2009, 08:54 PM
Hi!!

I'm noting some situation about GridViewNewRowInfo, because when CellEndEdit in first GridViewColumnComboBox column, I'm trying to put some text in a non-editable cell - 2nd column - according to index selected in first column, but text cells doesn't reflect the change (It keeps showing data text from DefaultValuesNeeded). I'm trying some like this into CellEndEdit event:

if (grdGridData.CurrentRow is GridViewNewRowInfo) 
  ((GridViewNewRowInfo)grdGridData.CurrentRow).Cells["DESCRIPTION"].Value = "Some text...";

Thanks

 

 

 

No answers yet. Maybe you can help?

Tags
GridView
Asked by
Aldemar
Top achievements
Rank 1
Share this question
or