Как изменить размер и удалить ненужное пространство в сетке данных в Mudblazor, когда высота фиксирована ⇐ CSS
-
Anonymous
Как изменить размер и удалить ненужное пространство в сетке данных в Mudblazor, когда высота фиксирована
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
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
Мобильная версия