Code Monkey home page Code Monkey logo

antd-table-infinity's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

antd-table-infinity's Issues

pagesize less than visible row count

I'm using InfinityTable in my project with additional filtering based on antd v4.

One of my filters change the array passed to dataSource prop, and I set my pageSize={data.length}.
But when I do filtering and number of rows is decreased, for example to 0, I'm getting this error:
pagesize(0) less than visible row count(8), maybe you set error!
In the library code I saw visibleRowCount variable, but how can we access it?

Is there a way to fix this?
Thanks!

关于开编辑表格中使用

请问,我想在可编辑表格中使用该组件。
我们的业务场景是,在一个可编辑表格中。
1、手动增加行,并可编辑行中信息。
2、没有翻页,也就是说,table中的数据是由用户一条条新增出来的,所以用不了fetch方法。

基于以上情况,怎么才能使用您的组件?我们现在一旦数据量大了的话就会很卡。

onFetch

滚动到最上面也会触发onFetch事件

分页组件下拉总是会跳到第一页

分页组件下拉总是会跳到第一页,当我设置缓存为3时,初始化会加载1,2,3页的数据,当滑动到3页数据之后,fechData的page就开始乱套了,不断的跳动,循环请求1,2,3页的数据,这是为什么呢?

无限滚动组件 InfinityTable 不支持二维滚动

现在我的图表不需要分页,所以我选择使用了 InfinityTable,但是添加横向滚动之后,如果先进行横向滚动,再进行纵向滚动,数据就不会发生更新。InfinityTable 是原来的设计就不支持二维滚动吗?

Publish ES5 syntax

Hi,

It's hard to recompile such dependencies for old browsers like IE11.
Could you compile your code to ES5 syntax before publishing?

关于可编辑table的性能问题

当做单元格编辑功能的时候(如在input中连继输入字符,本质上是 Antd Table 接收新的props的反复渲染),在开发模式下会存在性能问题,生产环境不会存在!主要是来自 HMR 和 Redux DevTools的性能消耗。

我看到这个 table内表单元素编辑表格会重新渲染导致卡顿的原因 为什么线上会不存在 这个npm 包对于可编辑table来说解决了这块问题吗

针对列的虚拟化

我这边的场景是行的数量是有限的(10行一页),但是列可能多达上千,列上又会有排序搜索之类的方法,现在也是巨卡无比,这个有什么办法没有

screen size of 1920 and above screen page scroll is not working

Hello
i have used this package in the project. I am facing issues with the large screen table scroll not working on a large screen. please check the below code


<Table
          rowKey="CampaignId" // Important, otherwise scrolling page will be a problem
          loading={props.loading}
          onFetch={props.getCampaignList}
          pageSize={100}
          loadingIndicator={loadMoreContent}
          columns={columns}
          scroll={{ y: 750 }}
          dataSource={props.data}
          // bordered
           debug
        />

不大建议用

本地起了项目评估效果,发现不支持fixed,错位。会有前后小块白屏现象,宽度设置有问题,

Failed to import antd-table-infinity in a meteor project

Hi Leonard, I've recently found out this lib (antd-table-infinity), and tried to use it in the meteor project,
but got errors, when try just import (import { InfinityTable } from 'antd-table-infinity'), if you will have some time can you please check it? To quickly check please create a simple meteor project (meteor create --react new-react-app) after you install Meteor, here is the link for the info => (https://www.meteor.com/install)
screen shot 2018-11-14 at 8 23 55 am
Thanks.

功能新增

能否新增 类似 SumData 功能。用于固定前几行,只滚动 dataSource 的数据

上下滚动偶发空白

debug出现
Bug: IntersectionObserver miss, because which waiting for Idle trigger
继续滚动至一屏可以重新加载出数据,这里并没有解决好吧

Failed to compile: missing index.less

./node_modules/antd-table-infinity/es/InfinityTable/index.js
Module not found: Can't resolve './index.less' in 'C:\Users\admin\Documents\Workspace\table\node_modules\antd-table-infinity\es\InfinityTable'

The required index.less file is missing.

This doesn't work on next.js

Using the latest version of React, React-DOM and nextjs
"react": "^16.9.0",
"react-dom": "^16.9.0",
"next": "^9.0.3",

Throwing an error: "ReferenceError: window is not defined"

Nextjs already provide a guideline of how to make it works:
https://github.com/zeit/next.js/wiki/FAQ

Not sure how to make it work though,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.