Table.sort.reapply() crashes Excel #25
Labels
Area: Excel
Issue related to Excel add-ins
Status: under investigation
Issue is being investigated
Type: product bug
Bug in the Office Add-ins platform or Office JavaScript APIs
Expected Behavior
Table has been sorted. User changes one or more cell values in the sort-on column, so the table rows are no longer in the proper sort order. Code calls myTableObject.sort.reapply(). The table is resorted on the existing criteria so it is again in desired sort order.
Current Behavior
When myTableObject.sort.reapply() runs, Excel crashes. There is no error message.
Steps to Reproduce, or Live Example
A. Calls
myTableObject.sort.clear();
B. Loads the
TableSort
object withmyTableObject.load('sort');
C. Calls
context.sync
D. Calls
myTableObject.sort.reapply();
Excel crashes.
The crash won't happen unless you call
myTableObject.sort.clear();
before you callmyTableObject.sort.reapply();
. But Excel should not crash.Context
I'm creating an Excel.js tutorial.
Your Environment
The text was updated successfully, but these errors were encountered: