material-table icon indicating copy to clipboard operation
material-table copied to clipboard

Unnecessarily large empty space area when filtering columns

Open urirahimi opened this issue 6 years ago • 10 comments

Describe the bug Take a look at the screenshot attached. Notice that the columnsButton prop is enabled and so is the custom action prop. When deselecting non action columns, there remains a large white space area underneath the action column. It seems like all of the columns are unnecessarily shifted to the right.

To Reproduce Steps to reproduce the behavior:

  1. Make a material table and populate with 10 columns. Enable columnsButton, and actions
  2. Deselect some of the columns and notice the empty white space under the actions column
Screen Shot 2020-02-15 at 7 34 53 PM copy

urirahimi avatar Feb 16 '20 01:02 urirahimi

@urirahimi did you get any solution for the empty space... what i've found is its rendering empty Tr's in table respective to the pageSize value of the table ... regardless to the data size ;(

Please share if you get any solution... Thanks :))

shamshashmi avatar Mar 10 '20 08:03 shamshashmi

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You can reopen it if it required.

stale[bot] avatar Jul 05 '20 20:07 stale[bot]

not stale

jakeleventhal avatar Jul 05 '20 20:07 jakeleventhal

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You can reopen it if it required.

stale[bot] avatar Oct 03 '20 20:10 stale[bot]

not stale

jakeleventhal avatar Oct 03 '20 21:10 jakeleventhal

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You can reopen it if it required.

stale[bot] avatar Jan 01 '21 22:01 stale[bot]

no stale

jakeleventhal avatar Jan 02 '21 03:01 jakeleventhal

would also like to see a solution to this

edit: never mind. for the issue of empty table rows when row count is less than the '# rows' selection, there is an option, emptyRowsWhenPaging

TheStu avatar Jan 25 '21 18:01 TheStu

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You can reopen it if it required.

stale[bot] avatar Apr 25 '21 19:04 stale[bot]

not stale

jakeleventhal avatar Apr 25 '21 19:04 jakeleventhal