wger icon indicating copy to clipboard operation
wger copied to clipboard

Toggle columns in gym user table

Open rolandgeider opened this issue 9 years ago • 3 comments

The user table in the gym overview could use some dynamism for the columns. There is a plugin for datatables to (toggle columns)[https://datatables.net/extensions/buttons/examples/column_visibility/columnsToggle.html]. The only thing is that perhaps the list of columns gets too long and the list of buttons could be ugly but for a first step this is definitely good enough.

Possible additional columns:

  • email
  • age (see #332)
  • height
  • weight (dynamic field)
  • address (dynamic field)
  • bmi (dynamic field)

Note that the dynamic fields are calculated on-the-fly, and will slow down the page, so we'd have to examine how noticeable this effect really is.

rolandgeider avatar Sep 21 '16 20:09 rolandgeider

Here is a guide for showing the list of columns in a drop-down menu.

aph3rson avatar May 16 '17 16:05 aph3rson

thanks!

rolandgeider avatar May 18 '17 21:05 rolandgeider

I can take a look at doing this - however, I don't have experience with the project, and this is an older issue. I'd be more than happy to take a look at it, though.

aph3rson avatar May 19 '17 00:05 aph3rson