Как изменить размер и удалить ненужное пространство в сетке данных в Mudblazor, когда высота фиксированаCSS

Разбираемся в CSS
Ответить
Anonymous
 Как изменить размер и удалить ненужное пространство в сетке данных в Mudblazor, когда высота фиксирована

Сообщение Anonymous »


I am using muddatagrid and I have set the height for the datagrid which changes dynamically based on screen size it dispays the scrollbar when the rowsperpage exceed the height. But the problem arises when the the number of records is less than the height or set rowsperpage there will be excessive space between the pager content and the records in bottom of the datagrid for example , if there is less than 10 records to display there will be a space in the bottom of the datagrid between actual records and pager content(I have added paging).This happens in last page as well when there are multiple pages. In this case, I want to set the height to remaining pages and let it to be auto height in last page where records or lower than the mentioned height. How can I achieve this. I have added mudblazor snippet for this issue. https://try.mudblazor.com/snippet/ckQIEHaSwUQhyioT

Thank you!!!


Источник: https://stackoverflow.com/questions/780 ... r-when-hei
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «CSS»