Column Header click not selecting all the rows on clicking Delete button

Tags: #<Tag:0x00007f8b1dd86be8>

Hi Team,

In am facing the below issue while using the header click of the column.

below are the steps:

  1. I have a grid limited to 1000 rows. I am copying 1000 rows from the Excel sheet.
  2. Copying to a column by clicking on the column header.
  3. From the UI all the 1000 rows are selected and I am copying by Ctrl + V.
  4. though it looks like all the 1000 rows are copied, in debug i can see only 27 or some random number at the beforeChange function.

Question:
What function is called before the “BeforeChange” function? Is there any suggestion from your end as I am not able move forward all 1000 rows are not getting selected.

Hey @chandup83

I’ve tried tris demo https://jsfiddle.net/handsoncode/3kogbdx8/

and copied 1000 rows from Google Sheets - got 1000 pasted rows + 1000 beforeChange changes (cause I had only one column of data).

Sorry on the steps that I shared before.
Below is the issue I am having.

below are the steps:

  1. I have a grid limited to 1000 rows. The grid has 1000 rows.
  2. I clicked on the column header.
  3. From the UI we can see all the 1000 rows are selected
  4. I clicked the delete button.

Expected result: All the 1000 rows should be selected to delete.
Issue: some random number like 27, 40 is selected but all the 1000 is not selected.

Question:
What function is called in the handsontable.full.js when the user clicks delete after clicking the column header.

It works well on the example above. Can you share a demo with your implementation?

Can you help me what function within handsontable.full.js is triggered internally when the user clicks “delete” button on the column header click.

Thanks,
Chandrakanth

Here @chandup83

you can check https://handsontable.com/docs/7.1.0/tutorial-using-callbacks.html all the hooks that are called. With hooks you’re able to block an action or run your code.