Giter VIP home page Giter VIP logo

Comments (5)

xiaocheng555 avatar xiaocheng555 commented on July 23, 2024

整体很强大 有个问题是 有些列fixed后单选 多选使用 ]提供colum列兼容后 把chekc列也fixed 选中的行会错行显示 如果不fixed 这一列又无法固定在开头

我试了没有这种情况,有具体的图和组件是怎么用的吗

from el-table-virtual-scroll.

anchuanyuan avatar anchuanyuan commented on July 23, 2024

哦 不好意思 我又尝试了一下 上面说的不太对 是因为当你把鼠标放在fixed列进行滚动的时候 会显得非常卡顿 当如果你在非fixed列没有这个问题 我觉的需要关闭这个issues 重新开另一个issuse 方便你解决 关于鼠标在fiedx列卡顿问题

from el-table-virtual-scroll.

xiaocheng555 avatar xiaocheng555 commented on July 23, 2024

哦 不好意思 我又尝试了一下 上面说的不太对 是因为当你把鼠标放在fixed列进行滚动的时候 会显得非常卡顿 当如果你在非fixed列没有这个问题 我觉的需要关闭这个issues 重新开另一个issuse 方便你解决 关于鼠标在fiedx列卡顿问题

哦 不好意思 我又尝试了一下 上面说的不太对 是因为当你把鼠标放在fixed列进行滚动的时候 会显得非常卡顿 当如果你在非fixed列没有这个问题 我觉的需要关闭这个issues 重新开另一个issuse 方便你解决 关于鼠标在fiedx列卡顿问题

你看看这个demo会不会也出现你说的问题:
https://xiaocheng555.github.io/el-table-virtual-scroll/#/FixedDemo?code=FixedDemo&codeTitle=%E5%9B%BA%E5%AE%9A%E8%A1%A8%E6%A0%BC

el-table-virtual-scroll组件包的是element-ui的table组件,fixed是table内的属性,左右固定都会多生成一个表格,可能你的表格也比较复杂,就会造成固定列那里滚动会卡,你可以先排查是什么原因导致的卡。

from el-table-virtual-scroll.

xiaocheng555 avatar xiaocheng555 commented on July 23, 2024

哦 不好意思 我又尝试了一下 上面说的不太对 是因为当你把鼠标放在fixed列进行滚动的时候 会显得非常卡顿 当如果你在非fixed列没有这个问题 我觉的需要关闭这个issues 重新开另一个issuse 方便你解决 关于鼠标在fiedx列卡顿问题

正常说,应该可以使用postion: sticky 来自己实现表格固定,这样就不会生成额外的table,表格内滚动和固定列里滚动也会在同一表格内,能解决你说的卡顿问题

晚点我试下能不能将postion: sticky 实现表格固定做到 组件内

image 具体可以看下element-plus的固定列

from el-table-virtual-scroll.

xiaocheng555 avatar xiaocheng555 commented on July 23, 2024

哦 不好意思 我又尝试了一下 上面说的不太对 是因为当你把鼠标放在fixed列进行滚动的时候 会显得非常卡顿 当如果你在非fixed列没有这个问题 我觉的需要关闭这个issues 重新开另一个issuse 方便你解决 关于鼠标在fiedx列卡顿问题

[email protected] 增加了自定义列的,可以试试
[email protected] 有点bug,在[email protected]修复了

image 参考demo:https://xiaocheng555.github.io/el-table-virtual-scroll/#/VFixedDemo?code=VFixedDemo&codeTitle=%E5%9B%BA%E5%AE%9A%E5%88%97%EF%BC%88%E8%87%AA%E5%AE%9A%E4%B9%89%EF%BC%89

from el-table-virtual-scroll.

Related Issues (20)

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.