Home Forums WPF controls Xceed DataGrid for WPF older cell value on Validation

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #26586 |

    Hello !!

    I’m trying to validate a cell content with a custom cell validation rule following the steps shown in the help documentation, but when i test for the value of the cell using the expression ‘context.Cell.ParentRow,Cells[“Percent”].Content’ i get the value actually stored in the database, not the value shown by the editor.

    I need the value shown in the editor.

    ¿ how can I get this value, the new one, not the older one ?

    thanks!!

    Imported from legacy forums. Posted by Miguel (had 2108 views)

    Xceed Support
    Member
    Post count: 5658

    Current edited content is not available publicly at the moment.

    I can refer to a setup built by MiddleTommy to extract the ActualContent ( internal property)
    http://forums.xceed.com/forums/ShowPost.aspx?PostID=6997

    So what you need to do is do the same as Tommy, but on DataRow instead of InsertionRow.

    Imported from legacy forums. Posted by Marcus [Xceed] (had 2884 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.