Welcome to the Xceed Community Sign in | Join | Help
Community Search  

Problem with refreshing cells when changing underlying data

Sort Posts: Previous Next
  •  06-13-2008, 6:47 AM Post no. 12932

    Problem with refreshing cells when changing underlying data

    Hi all,

    On my grid, I have some validation rules that depending on the data entered, some data of the underlying dataset may change. There is no problem when the data changed belongs to cells at the right on the edited cell, but if it's in the left it doesn't reload (but the underlying dataset is actually changed).

     I can force the reload assigning by code a copy of the dataset to the DataContext property and managing the LayoutUpdate event, but then the previous cell loses focus.

    Can anyone help me?

     
    Thanks in advance,

     Antonio.


     

    Filed under: , ,
  •  06-14-2008, 7:57 AM Post no. 12960 in reply to 12932

    Re: Problem with refreshing cells when changing underlying data

    This is a limitation of the current version that is addressed in the upcoming version.

    Technical Writer - Xceed Software

    Of all the things I've lost, I miss my mind the most. - Mark Twain
  •  06-16-2008, 3:27 AM Post no. 12979 in reply to 12960

    Re: Problem with refreshing cells when changing underlying data

     

    So is there a way to know what cell is focused? My idea was to change the DataContext property with the copy of data (so the display will reload) and then set the focus on the corresponding cell by code. In this way, the user can continue using the keyboard...

    Filed under: , ,
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2008 Xceed Software Inc.