决定渲染多少行能不能不要交给rows中的len属性,而是直接读取多少数据就渲染多少行
story-song opened this issue · 0 comments
story-song commented
问题描述:在进行渲染的时候,如果不指定 rows
中的len属性,就会只渲染默认的行数,虽然这个也可以自定义指定,但是显得不是很灵活;
const data = [
{
rows:{
...
len:100,
}
}
]
如我得案例所示:https://codesandbox.io/p/sandbox/x-data-spreadsheet-loaddata-test-ljf5kg
希望能不能组件自己读取数据得长度,而不是需要用户指定;