SpreadSheet custom function execute 3 times

3 posts, 0 answers
  1. Zhang
    Zhang avatar
    13 posts
    Member since:
    Oct 2013

    Posted 11 Nov 2015 Link to this post

    Hi,I am developing with RadSpreadsheet control.I register my custom function to the RadSpreadsheet .When the function evaluates ,I found that each time the EvaluateOverride method execute 3 times.Is there anything wrong here,or it's supposed to do this.I just worry about running efficiency.
  2. Zhang
    Zhang avatar
    13 posts
    Member since:
    Oct 2013

    Posted 11 Nov 2015 Link to this post

    Sorry, not each time!  The problem arise when I paste my custom function to the cell rather than type the function text into the cell.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Nikolay Demirev
    Admin
    Nikolay Demirev avatar
    103 posts

    Posted 12 Nov 2015 Link to this post

    Hello,

    The copy - paste feature uses worksheet internally, in which the copied values are set. And for this logic to work in some scenarios there is a need to calculate the functions, so they can be successfully copied.

    Is this behavior causing some performance hits in your project?

    Regards,
    Nikolay Demirev
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top