Grid with too many columns on a fixed-width site

I am using Telerik Radgrid for the website. Often, the grid columns exceed the available width and go beyond the main content area (fixed width).

So what are my options for representing very wide grids. horizontal scrollbars just look ugly on my site

+3
source share
3 answers

Your choice is a combination of the following:

  • Smaller fonts
  • Consolidate some cells to have more than one row (for example, if you have a "start date" and "end date", enter the start date at the top and the end date at the bottom.
  • ( ). , , .
  • <div> javascript

- ?

+6

telerik, , , - , , CSS, , .

  • .
  • , .
  • Grid, Fluid, .

, .

+3

, . nowrap , . , - , , . , , .

, . - / ?

Another option is to make which columns are shown customizable by the user, but you are not really addressing this issue, just blaming the user for it to look good.

If you cannot get rid of the horizontal scrollbar, you should at least try to put more important columns first, so that your users don't scroll to the right very often.

0
source

Source: https://habr.com/ru/post/1707761/


All Articles