This task can be performed using Jspreadsheet
JavaScript Data Grid with Advanced Spreadsheet Controls
Best product for this task

What to expect from an ideal product
- Transforms HTML tables into Excel-like grids with drag and drop features
- Quick copy-paste between cells and external spreadsheet apps
- Built-in sorting, filtering and search across all data columns
- Creates editable cells with validation rules and custom formatting
- Handles large datasets with smooth scrolling and virtual rendering