jspreadsheet / jspreadsheet/ce

set first row as header, when user pastes excel data on jexcel sheet in angular

Open
#1,137 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
7.2k
Forks
890
PR merge metrics
No merged PRs in 30d

Description

I am using onBeforepaste() to get data user pasted on the excel, it is accepting following parameters:
1)sheet's HTML
2) data I pasted
3) Column index
4) Row Index
i want to get first row pasted and use it as header of the excel sheet, but unlike contextmenu , i m not getting the object of the excel sheet. so cant access any method related to setting the header. Can u please tell me how can I use first pasted row as header

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the onBeforepaste() callback and comparing it with the contextmenu path, since the issue names no files or tests. Determine how the pasted first row could be used as the sheet header and identify the relevant public API. Done means a supported approach is established and verified for Angular usage.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.