Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Añadir 'index' en v-for #1

Open
albertorsesc opened this issue Aug 25, 2018 · 0 comments
Open

Añadir 'index' en v-for #1

albertorsesc opened this issue Aug 25, 2018 · 0 comments

Comments

@albertorsesc
Copy link

Que tal, acabo de encontrar Vueble y observe que en el v-for del slot="row" no hay forma de obtener el index del registro.

<slot name="row" v-for="item in filteredItems" :scope="item">

Habria forma de añadir el index:

<slot name="row" v-for="(item, index) in filteredItems" :scope="item">

Es para mostrar el numero del renglon, el ID definitivamente no seria opcion por obvias razones
Que me pudieras sugerir para un DataTable?,

Muy buena tabla por cierto, gracias por compartirla. Saludos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant