x-spreadsheet icon indicating copy to clipboard operation
x-spreadsheet copied to clipboard

row limit

Open pjebs opened this issue 6 years ago • 4 comments

I was wondering what the row limit was?

Is this build using react?

pjebs avatar Jan 30 '19 08:01 pjebs

Set the properties you need to override

/*
const options = {
  view: {
    height: () => document.documentElement.clientHeight - 41,
    width: () => document.documentElement.clientWidth,
  },
  row: {
    len: 100,
    height: 25,
  },
  col: {
    len: 26,
    width: 100,
    indexWidth: 60,
    minWidth: 60,
  },
  style: {
    bgcolor: '#ffffff',
    align: 'left',
    valign: 'middle',
    textwrap: false,
    textDecoration: 'normal',
    strikethrough: false,
    color: '#0a0a0a',
    font: {
      name: 'Helvetica',
      size: 10,
      bold: false,
      italic: false,
    },
  },
}
*/
const options = {
  row: { len: 200 }
}
new Spreadsheet(el, options).loadData({});

myliang avatar Jan 30 '19 09:01 myliang

Is there full documentation anywhere?

Can it handle 1M+ rows?

pjebs avatar Jan 30 '19 10:01 pjebs

its OK In theory

myliang avatar Jan 30 '19 10:01 myliang

can I increment the length of the row after initialization?

dhiraj-bhor avatar Apr 11 '23 07:04 dhiraj-bhor