Skip to content

Conversation

frncbeeline
Copy link

Add scheme to choose when to use rowHook or tableHook, depending on which was provided and how many rows have changed.

Logic:

  • if neither of rowHook or tableHook are defined, then proceed
  • if only one of rowHook or tableHook are defined, then use the one that is defined
  • if both rowHook or tableHook are defined, then:
    • inspect runTableHookThreshold and set it to 0 if it is not defined
    • if changedRowIndexes is undefined or greater than the threshold, then use tableHook else use rowHook

…ich was provided and how many rows have changed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant