Adaptation of tables for mobile devices

Who is this article for

Almost all designers face the problem of adaptation when rendering tables in interfaces - namely, adapting tables for mobile devices. It will also be fair to note the usefulness of the article for Frontend developers who make up these very tables.





Problem

The problem for the designer begins at the moment when the table from the desktop version of the interface is adapted for mobile devices. As we know, tables can have many columns, which entails table crashes beyond the screen width on a mobile device. 





This problem is widespread, and it can only be aggravated by the content of the cell, which is not wrapped line by line, thereby increasing the width of the column.





Test dataset

In order to better understand the essence of the problem, we will come up with a table for ourselves, and we will adapt it.





Columns:





  1. room





  2. A photo





  3. Full name





  4. Telephone





  5. Email





  6. the date





  7. Text description





  8. Status





  9. Actions





The result will be a rather extensive table that has all the types of columns we need. Frankly, even the list above raises questions for me - too much space is wasted on the right. 





  1. Fixed width and line wrapping





  2. Width to content





”.





. , . — , .





— .

































- , .





: , . ( )





, . . .





, . , , . .





-

- , , , , .





- - , - ( ).





, , , ( ).





If you notice errors, or you have something to add - let me know, I will definitely do it. Thanks for attention!








All Articles