3.0.12 • Published 2 years ago

el-table-massdata v3.0.12

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

ELTablePlus

Description

The Component developed based on ElementUI , just add one simple function for el-table, when the table need to face on million & billion datas , how can let it be more faster. That's what it doing.

How To Use

Just like how do you use el-table, all the same. Row-key is the attribution what definitely needed, that's all.

New Addition

Add an new way to load datas. The import data didn't need to loaded in once, you can set a BufferDataPages & a GetMassDataCallback to let the table automaticly load the next data.BufferDataPages means how much loaded pages you want buffered, GetMassDataCallback is the load data callback.

For Example

<ElTablePlus
  ref="testTable"
  :max-height="maxHeight"
  row-key="id"
  :getMassDataCallback="getData"
  :bufferDataPages="10"
>
</ElTablePlus>
 getData (pageInfo, callback) {
      setTimeout(() => {
        let getData = massData.nodes.slice((pageInfo.currentPage - 1) * pageInfo.pageSize, pageInfo.pageSize * pageInfo.currentPage)
        callback(getData);
      }, 10)
    },
3.0.12

2 years ago

3.0.11

2 years ago

3.0.9

2 years ago

3.0.8

2 years ago

3.0.7

2 years ago

3.0.6

2 years ago

3.0.5

2 years ago

3.0.4

2 years ago

3.0.3

2 years ago

3.0.2

2 years ago

3.0.1

2 years ago

3.0.0

2 years ago

2.0.3

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago