Grid yükseliği hesaplanarak yazılacak

This commit is contained in:
Sedat Öztürk 2025-11-07 22:39:40 +03:00
parent 2d8a856626
commit ef44b7136c
2 changed files with 2 additions and 2 deletions

View file

@ -386,7 +386,7 @@ public class PlatformDbContext :
b.Property(a => a.Description).HasMaxLength(512);
b.Property(a => a.Title).HasMaxLength(256);
b.Property(a => a.SortMode).HasMaxLength(20);
b.Property(a => a.PageSize).HasDefaultValue(20);
b.Property(a => a.PageSize).HasDefaultValue(50);
b.Property(a => a.UpdateServiceAddress).HasMaxLength(256);
b.Property(a => a.InsertServiceAddress).HasMaxLength(256);
b.Property(a => a.DeleteServiceAddress).HasMaxLength(256);

View file

@ -673,7 +673,7 @@ const Grid = (props: GridProps) => {
//dataSource={gridDataSource}
//remoteOperations={{ groupPaging: true }}
//remoteOperations={false}
height={gridDto.gridOptions.height || '100%'}
height={gridDto.gridOptions.height || 'calc(100vh - 150px)'}
width={gridDto.gridOptions.width || '100%'}
allowColumnResizing={gridDto.gridOptions.columnOptionDto?.allowColumnResizing}
allowColumnReordering={gridDto.gridOptions.columnOptionDto?.allowColumnReordering}