We can not get the dataset that by GetChanges() because the leavecell event does not occurs.

Posted by: ymkim on 8 September 2017, 12:37 pm EST

  • Posted 8 September 2017, 12:37 pm EST


    Hello,


    I am using the Spread for Windows that is made by 'Smart Client' on Internet Explorer 7.0.


    Spreadsheet verion is Spread for window form for VS2002/2003 2.5 V02.05.1010 (Latest Version that is released 2007/05/10)


     I encounter the problem described below:


    After bound the dataset  that has one datatable and one datarow to spreadsheet, I just modified one cell and i DO NOT select another cell. and then, i try to get the Getchanges() data for the dataset that is binding to spreadsheet by clicking button control.


    but i can not get the Getchanges() data.


    when i used the Spreadsheet verion is Spread for window form for VS2002/2003 2.5 1003.2002, the problem was not occurred.


    After i installed Spread for window form for VS2002/2003 2.5 V02.05.1010, the problem is occurred.



    Please give me your advice.

  • Replied 8 September 2017, 12:37 pm EST

    Hello,


    We made a change in the Spread control to make it more effecient. It use to save the data to the bound DataSource on every change made in the Spread. Now, it works more like the DataGrid control and only saves the data when clicking on a new row in the Spread. To get the behavior you are expecting, you need to first call the EndEdit method on the bound DataRow before calling the GetChanges.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels