Comments (7)
<v2-table v-if="cursos.length>0" height=132 :data="cursos" ref="table">
<v2-table-column width=20 label="#" prop="sequence"></v2-table-column>
<v2-table-column label="Curso" prop="nome"></v2-table-column>
<v2-table-column label="Data de matrícula" prop="datamatricula"></v2-table-column>
<v2-table-column label="Data de conclusão" prop="dataconclusao"></v2-table-column>
<v2-table-column label="Nota" prop="nota"></v2-table-column>
</v2-table>
When cursos
is updated, you can reset the scrollbar via calling updateScrollbar
method of table:
this.cursos = new-cursos-data
this.$refs.table.updateScrollbar(true);
@marcelobcortes You need to upgrade v2-table to v3.0.1. Hope it helps you.
from v2-table.
@marcelobcortes I have reproduced it. And I will fix it as soon as possible. Thanks for your feedback.
from v2-table.
Which version do you use? And can show me a case or more code? @marcelobcortes
from v2-table.
Hello!
https://github.com/marcelobcortes/teste-fullstack
teste-fullstack/resources/assets/js/components/alunos.vue
(if you can I would love to receive feedback about the whole project code)
from v2-table.
@marcelobcortes I have seen your code and I want to know how to switch to other modal ?
from v2-table.
click in a entry in "alunos" sections.
shows up "aluno" data and a v2-table.
v2-table was configured to show 3 entries... so find a "aluno" with more than 3 entries (if you find easier, change alunocertificadofactory to create more entries) and scroll all it down and close
after that, click in another entry and you will see that v2-table scroll's position did not get reseted despite of the data got refreshed
let me know if I still wasnt clear enough
from v2-table.
@dwqs I think put the update scroll function in v2-table component rather than exposed outside because sometimes the table DOM's render doesn't finish, but I have invoked the update scroll function.
like following snippets:
watch: {
rows(newRows, oldRows) {
this.$refs.table.updateScrollbar(true);
// At this moment, my table is still old
}
}
from v2-table.
Related Issues (20)
- 无边框多选时 选择框的列表出现了 border
- How to working well on SSR (Nuxt)? HOT 1
- Refreshing data in table + add icon to call method HOT 4
- filter table HOT 1
- row-class-name attribute function return the row with undefined HOT 1
- Table will not be updated with dynamical columns HOT 2
- how can I make a cutom header on this v2 table ? HOT 2
- event to check or uncheck checkboxlist
- Use withouth webpack HOT 1
- List array passed by props HOT 1
- How to insert empty full-width row?
- How to show nested objects table
- handleSelectChange doesn't work if the HTML in vue is accessing the data point being updated from the handle select change. HOT 2
- Multi-select error when enable lazy-load HOT 1
- TypeError: i.a is not a constructor HOT 2
- Is there a way to set specific rows to be checked? HOT 2
- 多选时不能取消选中
- the problem with the initialization BeautifyScrollbar HOT 7
- Y Scroll Bar Not Always Shown HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from v2-table.