Webgrid - How to undo changes for certain cell values on a row?

18 replies. Last post: March 8, 2010 9:53 PM by Andi Santoso
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback

I have a webgrid that I need to validate after they click off the row.  Is there a way to undo changes for just certain cell values?  I have tried row.UndoChanges(); but that will undo everything for the whole row.   Is there some property like...

If (valid == false){

row.GetCells().GetNamedItem("Column1").UndoChanges();

row.GetCells().GetNamedItem("Column2").UndoChanges();

} 

row.GetCells().GetNamedItem("Column2").UndoChanges();

} 

All times are GMT -5. The time now is 4:26 AM.
Previous Next