Author Topic: Don't change row numbers when using headerRowIndx  (Read 860 times)

andrew222651

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 1
    • View Profile
Don't change row numbers when using headerRowIndx
« on: July 27, 2021, 03:13:43 am »
When I import a spreadsheet with
Code: [Select]
grid.importWb({..., headerRowIndx: 0}), row 2 of the spreadsheet is now shown as row 1. Can I make it start from row 2?

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6313
    • View Profile
Re: Don't change row numbers when using headerRowIndx
« Reply #1 on: July 27, 2021, 09:14:29 am »
When headerRowIndx: 0 is passed to importWb, 1st row in spreadsheet becomes header row in grid and all other rows are shifted up.

Do you want to keep the first row empty?
« Last Edit: July 27, 2021, 09:21:26 am by paramvir »