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.
16 lines
567 B
C#
16 lines
567 B
C#
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; }
|
|
}
|