muhimasri / b-editable-table

A Bootstrap Vue editable table for editing cells using built-in Bootstrap form elements
MIT License
33 stars 11 forks source link

Append Row at the end (Add, Update and Remove Rows) #37

Closed yoursantu closed 1 year ago

yoursantu commented 1 year ago

Hi, I am using Add, Update and Remove Rows example for one of my project.

In this example Add Action will be adding the new row at the beginning of the table. But i wanted to be append new row at the end of the row. Is there any way to solve this!?

Thank you.

muhimasri commented 1 year ago

Hello,

Currently, it only adds the row at the beginning of the table. The reason was, if there was paging, the new row would not get lost at the very end of the table. That being said, I will add an option to enable adding a row at the end of the table in the next release.

I'm aiming to do an update next week so stay tuned!

muhimasri commented 1 year ago

Please install latest v1.0.0. You can now pass addPosition: "end" to the rowUpdate object to add rows at the end of the table.

https://b-editable-table.muhimasri.com/guide/add-update-and-remove-rows.html

yoursantu commented 1 year ago

Hi, Thank you, Thanks a lot for the enhancement.

muhimasri commented 1 year ago

You're welcome!