1234567891011121314151617181920212223242526272829 |
- using Comal.Classes;
- using InABox.Core;
- using InABox.DynamicGrid;
- using System.Collections.Generic;
- using System.Linq;
- using System.Reflection;
- using System.Text;
- using System.Threading.Tasks;
- namespace PRS.Shared
- {
- public class ScheduleOffsetListGrid : DynamicEnclosedListGrid<Schedule, ScheduleOffset>
- {
- public ScheduleOffsetListGrid(PropertyInfo prop) : base(prop)
- {
- }
- protected override void DoReconfigure(DynamicGridOptions options)
- {
- base.DoReconfigure(options);
- if (Security.CanEdit<Schedule>())
- {
- options.AddRows = true;
- options.EditRows = true;
- options.DeleteRows = true;
- }
- }
- }
- }
|