dfiguero free asked 6 years ago


Looking at the Table component here:   https://mdbootstrap.com/vue/content/tables/   I could not find a way to add pagination or a way to show if a row is clicked. Are these available? Are they only available in the Pro version?   Thank you

Jakub Strebeyko staff answered 6 years ago


Hi there dfiguero, Welcome to the Support Board! The functionality will be free to use for everyone and will be available in the upcoming release next week (scheduled on Monday). With Best Regards, Kuba

dfiguero free commented 6 years ago

Thank you Jakub

dfiguero free 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 you

Jakub 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 a v-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 free commented 6 years ago

Ok, I will try that thank you for the suggestions

Jakub 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. :)


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags