jadrake75 / ng-scrolling-table

MIT License
8 stars 2 forks source link

Provide the ability to have columns hide based on allowable width and priority #2

Open jadrake75 opened 10 years ago

jadrake75 commented 10 years ago

Using the min-width attribute (if present on a column) or a pre-set minimum (could be a table wide attribute) of say 75px (seems a good start) if the table width does not support the column layout and a "priority" (from 1 to 1000) is given (1000 being the default and indicating should always show), columns should drop off if

(a) The calculated width of a column is < min-width || the table column default width (if not specified) && it is the lowest priority of the available still visible columns.