Gridlayout

If I use the grid on small devices (Responsive) the layout is not correct - see picture (it is to small)

image

robert

We can't reproduce this. Here is how a default CRUD page with a DataGrid looks like on a mobile device (with a checkbox that toggles the DataGrid's responsive mode):

responsive

it is weird - build a new project and tested it with Edge/Chrome see here:

robert

I found the problem - if the last column (delete) is set to a fixed width like the fault is that problem occurs

robert

It seems desktop browsers (or just chrome) need this style as well:

@media (max-width: 768px) {
  .rz-datatable-reflow table,
  .rz-datatable-reflow tbody,
  .rz-datatable-reflow tr {
    display: block;
  }
}

We will add it by default to our themes.

2 Likes