/// <summary>
        /// Initializes a new instance of the JqGridNavigatorEditActionOptions class.
        /// </summary>
        public JqGridNavigatorEditActionOptions()
        {
            Width            = JqGridOptionsDefaults.Navigator.EditActionWidth;
            NavigationKeys   = new JqGridFormKeyboardNavigation();
            ViewPagerButtons = JqGridOptionsDefaults.Navigator.ViewPagerButtons;
            RecreateForm     = JqGridOptionsDefaults.Navigator.RecreateForm;
            AddedRowPosition = JqGridOptionsDefaults.Navigator.AddedRowPosition;
            ClearAfterAdd    = JqGridOptionsDefaults.Navigator.ClearAfterAdd;
            CloseAfterAdd    = JqGridOptionsDefaults.Navigator.CloseAfterAdd;
            CloseAfterEdit   = JqGridOptionsDefaults.Navigator.CloseAfterEdit;
            CheckOnSubmit    = JqGridOptionsDefaults.Navigator.CheckOnSubmit;
            CheckOnUpdate    = JqGridOptionsDefaults.Navigator.CheckOnUpdate;
            TopInfo          = String.Empty;
            BottomInfo       = String.Empty;
            SaveKeyEnabled   = JqGridOptionsDefaults.Navigator.SaveKeyEnabled;
            SaveKey          = JqGridOptionsDefaults.Navigator.SaveKey;
            SaveButtonIcon   = JqGridFormButtonIcon.SaveIcon;
            CloseButtonIcon  = JqGridFormButtonIcon.CloseIcon;

            AfterClickPgButtons = null;
            AfterComplete       = null;
            BeforeCheckValues   = null;
            OnClickPgButtons    = null;
            OnInitializeForm    = null;
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the JqGridNavigatorViewActionOptions class.
 /// </summary>
 public JqGridNavigatorViewActionOptions()
 {
     Width            = JqGridOptionsDefaults.Navigator.ViewActionWidth;
     NavigationKeys   = new JqGridFormKeyboardNavigation();
     ViewPagerButtons = JqGridOptionsDefaults.Navigator.ViewPagerButtons;
     RecreateForm     = JqGridOptionsDefaults.Navigator.RecreateForm;
     LabelsWidth      = JqGridOptionsDefaults.Navigator.LabelsWidth;
     CloseButtonIcon  = JqGridFormButtonIcon.CloseIcon;
 }