MatBlazor icon indicating copy to clipboard operation
MatBlazor copied to clipboard

MatTable page size not stable after updating 1.7.4

Open novfal opened this issue 7 years ago • 7 comments

Page size automatically(zigzag) change 10 to 5

novfal avatar Sep 12 '19 10:09 novfal

Did you try to set the following properties?

PagingDataPropertyName="Id" PagingRecordsCountPropertyName="Id" PageSize="3"

For me it's working

benishue avatar Sep 17 '19 12:09 benishue

try this after that also same problem

novfal avatar Sep 18 '19 07:09 novfal

@SamProf table page size changed automatically from 10(fixed page size) to 5 and also in mat tab selection values not loaded i use the button for that click

novfal avatar Sep 26 '19 05:09 novfal

I also have problems with PageSize, it flicker between my PageSize and default value. When i load the page for the first time its allways default PageSize and as soon as i do something(push button or something) it jumps to my PageSize value.

coffeelake avatar Sep 26 '19 11:09 coffeelake

in matblazor 1.7.2 working fine

novfal avatar Sep 26 '19 11:09 novfal

I was able to temporarily work around this issue by invoking StateHasChanged within the lifecycle method OnAfterRenderAsync, although this momentarily flashes the widget with fewer rows than I intended. To avoid this I put the widget behind an if block which is toggled during onAfterRender.

Looking forward to this being officially fixed, I've just recently discovered this library and very much enjoy and appreciate it.

vanderstack avatar Sep 29 '19 00:09 vanderstack

@novfal , I believe this issue no longer exists. Can you confirm?

Christian-Oleson avatar Dec 13 '20 18:12 Christian-Oleson