mkozhukharenko / ums-frontend

ums-frontend
MIT License
1 stars 1 forks source link

Make table more responsive-friendly #42

Open mkozhukharenko opened 8 years ago

mkozhukharenko commented 8 years ago

Make a table responsive

fixed-data-table is not responsive. 🌵

there are a function that try to implement this functionality: commons/tableHelpers.js

ER:

All tables that use fixed-data-table should be responsive - change a width of resize (occupy all width of a screen).

PS.

check this discussion : https://github.com/facebook/fixed-data-table/issues/289 and this example: https://goo.gl/CyGZh7

this also can help: https://github.com/ofersadgat/fixed-data-table-simple/blob/master/src/js/SetContainerSize.jsx

https://github.com/facebook/fixed-data-table/issues/312#issuecomment-199373109 (using react-dimensions)

mkozhukharenko commented 8 years ago

I think that this component can solve out problem