From ef44b7136c61c7a56eb2263bd2d091d61afd8cc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sedat=20=C3=96zt=C3=BCrk?= Date: Fri, 7 Nov 2025 22:39:40 +0300 Subject: [PATCH] =?UTF-8?q?Grid=20y=C3=BCkseli=C4=9Fi=20hesaplanarak=20yaz?= =?UTF-8?q?=C4=B1lacak?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../EntityFrameworkCore/PlatformDbContext.cs | 2 +- ui/src/views/list/Grid.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/src/Kurs.Platform.EntityFrameworkCore/EntityFrameworkCore/PlatformDbContext.cs b/api/src/Kurs.Platform.EntityFrameworkCore/EntityFrameworkCore/PlatformDbContext.cs index f43ade00..3b79d9ee 100644 --- a/api/src/Kurs.Platform.EntityFrameworkCore/EntityFrameworkCore/PlatformDbContext.cs +++ b/api/src/Kurs.Platform.EntityFrameworkCore/EntityFrameworkCore/PlatformDbContext.cs @@ -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); diff --git a/ui/src/views/list/Grid.tsx b/ui/src/views/list/Grid.tsx index fd673cba..a0c63af9 100644 --- a/ui/src/views/list/Grid.tsx +++ b/ui/src/views/list/Grid.tsx @@ -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}