Topic: Vue Tables
Jakub Strebeyko staff answered 6 years ago
dfiguero commented 6 years ago
Thank you Jakubdfiguero commented 6 years ago
Hey Jakub, I just upgraded to version 4.5.0 and added a datatable in my project. Pagination was there by default but I could not find a way to add an @click event. Also is there a way to hide one of the columns? I would like the ID for the row to not be shown but I will use it when the user clicks on the row. Thank youJakub Strebeyko staff commented 6 years ago
Hi there dfiguero, There is no row-clicking handling as of now, no column hiding (except for custom CSS) as of now, too. We might implement it in the future, as it sounds interesting. As of now I would suggest having the id column with av-show
directive, rows contain a click event listener taking in a parameter of a row number, that would have the data
object changed, having the condition changed. Have not tested it myself, though.
With Best Regards,
Kuba
dfiguero commented 6 years ago
Ok, I will try that thank you for the suggestionsJakub Strebeyko staff commented 6 years ago
My pleasure! If you find a moment let know how did it go - we are on our way to improve tables some more and then some. :)FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB Vue
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No