public TransformationsGridColumnCollection(TransformationsGrid grid)
            : base(grid)
        {
            TransformationsGrid = grid;

            PhoneNumber = new GridPlainTextColumn(this, "PhoneNumber") { MaxLength = Transformation.Lengths.PhoneNumber.ToDefaultString() };
            Email = new GridPlainTextColumn(this, "Email") { MaxLength = Transformation.Lengths.Email.ToDefaultString() };

            Items = new GridColumn[] { PhoneNumber, Email };
        }
        public UsersGridColumnCollection(UsersGrid grid)
            : base(grid)
        {
            UsersGrid = grid;

            Name = new GridPlainTextColumn(this, "Name") { MaxLength = User.Lengths.Name.ToDefaultString() };
            Password = new GridPasswordTextColumn(this, "Password") { MaxLength = User.Lengths.Password.ToDefaultString() };
            FullName = new GridPlainTextColumn(this, "FullName") { MaxLength = User.Lengths.FullName.ToDefaultString() };
            UserRoleId = new GridListColumn(this, "UserRoleId") { DefaultCellValue = ((int)Session.UserRole.User).ToDefaultString()};

            Items = new GridColumn[] { Name, Password, FullName, UserRoleId };
        }