Add user-specific persistent grid/band layouts support
Implemented user-customizable, persistent grid and band layouts for CatalogsGrid and MassDataGrid. Added backend API, database entity, and repository for storing layouts per user. Refactored grids to support dynamic band/column rendering, layout management UI, and per-user storage via localStorage and the new API. Registered all necessary services and updated data context. Enables flexible, user-specific grid experiences with saved layouts.
This commit is contained in:
15
DbFirst.Domain/Entities/SmfLayout.cs
Normal file
15
DbFirst.Domain/Entities/SmfLayout.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace DbFirst.Domain.Entities;
|
||||
|
||||
public class SmfLayout
|
||||
{
|
||||
public long Guid { get; set; }
|
||||
public bool Active { get; set; }
|
||||
public string LayoutType { get; set; } = string.Empty;
|
||||
public string LayoutKey { get; set; } = string.Empty;
|
||||
public string UserName { get; set; } = string.Empty;
|
||||
public byte[] LayoutData { get; set; } = Array.Empty<byte>();
|
||||
public string AddedWho { get; set; } = string.Empty;
|
||||
public DateTime AddedWhen { get; set; }
|
||||
public string? ChangedWho { get; set; }
|
||||
public DateTime? ChangedWhen { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user