Hit testing generates response to user actions on a Graphical User Interface.
SpreadJS supports hit-testing by allowing users to get cell index on mouse click events. This feature is useful when you need to access any element in the worksheet and respond to user selections. Using hit testing, you can get the specified hit area from X and Y coordinates in the workbook and know which sections of the spreadsheet have been clicked by a user.
For more information, see Using Hit Testing.