protected override void InitializeGrid()
        {
            base.InitializeGrid();

            SGrid.InitializeGrid();

            var grid = SGrid.PrimaryGrid;


            grid.GroupByRow.Visible = false;

            var col = grid.CreateColumn("Effectivity", "Effectivity", 180);

            //col.EditorType = typeof(GridDateTimeInputEditControl);
            //col.RenderType = typeof(GridTextBoxXEditControl);

            grid.CreateColumn("Remarks", "Remarks", 200);


            grid.CreateRecordInfoColumns();

            // Create COntext Menu;
            CreateGridContextMenu();

            //Define Sort
            //grid.SetSort(SGrid.PrimaryGrid.Columns["Effectivity"], SortDirection.Descending);
            //SGrid.Update();
        }
        protected override void InitializeGrid()
        {
            base.InitializeGrid();

            SGrid.InitializeGrid();

            var grid = SGrid.PrimaryGrid;

            grid.GroupByRow.Visible = false;


            var col = new GridColumn();

            col          = grid.CreateColumn("TaxId", "Tax Id", 80);
            col.DataType = typeof(int);

            grid.CreateColumn("Description", "Description", 200);
            grid.CreateColumn("Short", "Short Description", 100);


            grid.CreateColumn("Dependent", "Dependent", 80, Alignment.MiddleCenter);

            grid.CreateColumn("Exemption", "Exemption", 80, Alignment.MiddleRight);


            grid.CreateRecordInfoColumns();

            // Create COntext Menu;
            CreateGridContextMenu();

            //Define Sort
            grid.SetSort(SGrid.PrimaryGrid.Columns["TaxId"]);
        }
        protected override void InitializeGrid()
        {
            base.InitializeGrid();

            SGrid.InitializeGrid();


            var grid = SGrid.PrimaryGrid;


            grid.CreateColumn("Id", "Id", 60, Alignment.MiddleCenter);

            grid.CreateColumn("Username", "Username", 80);
            grid.CreateColumn("Role", "Role", 150);

            grid.CreateColumn("LinkedAccount", "Linked Employee", 200);


            grid.CreateRecordInfoColumns();

            // Create COntext Menu;
            CreateGridContextMenu();

            //Define Sort
            grid.SetSort(SGrid.PrimaryGrid.Columns["Username"]);
        }
Beispiel #4
0
        protected override void InitializeGrid()
        {
            base.InitializeGrid();

            SGrid.InitializeGrid();


            var grid = SGrid.PrimaryGrid;

            grid.GroupByRow.Visible = false;

            var col = grid.CreateColumn("Code", "Code", 80, Alignment.MiddleCenter);

            col.GroupBoxEffects = GroupBoxEffects.None;

            grid.CreateColumn("Description", "Description", 200);

            //col = grid.CreateColumn("Mandatory", "Mandatory", 80, Alignment.MiddleCenter);
            //col.EditorType = typeof(GridCheckBoxXEditControl);

            col            = grid.CreateColumn("Priority", "Priority", 80, Alignment.MiddleCenter);
            col.EditorType = typeof(GridCheckBoxXEditControl);

            col            = grid.CreateColumn("Active", "Active", 80, Alignment.MiddleCenter);
            col.EditorType = typeof(GridCheckBoxXEditControl);


            grid.CreateRecordInfoColumns();

            // Create COntext Menu;
            CreateGridContextMenu();

            //Define Sort
            grid.SetSort(SGrid.PrimaryGrid.Columns["Lastname"]);
        }
        protected override void InitializeGrid()
        {
            base.InitializeGrid();

            SGrid.InitializeGrid();


            var grid = SGrid.PrimaryGrid;

            grid.GroupByRow.Visible = false;

            // grid.CreateColumn("CameraCounter", "Image File", 85);

            grid.CreateColumn("Id", "Id");

            grid.CreateColumn("SubjectCode", "Subject Code", 100);
            grid.CreateColumn("Subject", "Subject", 150);

            grid.CreateColumn("SectionId", "Section Id");
            grid.CreateColumn("Section", "Section", 80);


            grid.CreateColumn("Teacher", "Teacher", 180);


            grid.CreateRecordInfoColumns();

            // Create COntext Menu;
            CreateGridContextMenu();

            //Define Sort
            grid.SetSort(SGrid.PrimaryGrid.Columns["Lastname"]);
        }
Beispiel #6
0
        protected override void InitializeGrid()
        {
            base.InitializeGrid();

            SGrid.InitializeGrid();


            var grid = SGrid.PrimaryGrid;

            grid.GroupByRow.Visible = false;

            var col = grid.CreateColumn("BiometricId", "Biometric Id", 80, Alignment.MiddleCenter);

            grid.CreateColumn("Lastname", "Lastname", 90);
            grid.CreateColumn("Firstname", "Firstname", 100);
            grid.CreateColumn("Middlename", "Middlename", 80);
            grid.CreateColumn("NameExtension", "Ext", 40);

            grid.CreateColumn("Gender", "Gender");


            grid.CreateColumn("Category", "Category", 90);
            grid.CreateColumn("PhoneNumber", "Phone No.", 100);

            grid.CreateRecordInfoColumns();

            // Create COntext Menu;
            CreateGridContextMenu();

            //Define Sort
            grid.SetSort(SGrid.PrimaryGrid.Columns["Lastname"]);
        }
        protected override void InitializeGrid()
        {
            base.InitializeGrid();

            SGrid.InitializeGrid();


            var grid = SGrid.PrimaryGrid;


            grid.CreateColumn("Id", "Id", 50, Alignment.MiddleCenter);

            grid.CreateColumn("Lastname", "Lastname", 90);
            grid.CreateColumn("Firstname", "Firstname", 100);
            grid.CreateColumn("Middlename", "Middlename", 80);
            grid.CreateColumn("NameExtension", "Ext", 40);

            grid.CreateColumn("Gender", "Gender");

            grid.CreateColumn("Birthdate", "Birthdate", 80, Alignment.MiddleCenter);

            grid.CreateColumn("BirthTown", "Town", 120);
            grid.CreateColumn("BirthProvince", "Province", 85);
            grid.CreateColumn("BirthCountry", "Country", 70);

            grid.CreateColumn("CameraCounter", "Image File", 85);

            grid.CreateRecordInfoColumns();

            // Create COntext Menu;
            CreateGridContextMenu();

            //Define Sort
            grid.SetSort(SGrid.PrimaryGrid.Columns["Lastname"]);
        }
        protected void InitializeGrid()
        {
            SGrid.InitializeGrid();


            var grid = SGrid.PrimaryGrid;
            var col  = new GridColumn();

            SGrid.RowDoubleClick      += (s, e) => { btnPayViewProfile.RaiseClick(); };
            SGrid.ColumnHeaderMouseUp += SGrid_ColumnHeaderMouseUp;

            grid.GroupByRow.Visible = false;
            grid.Filter.Visible     = true;
            grid.EnableFiltering    = true;

            grid.EnableColumnFiltering = true;
            grid.FilterMatchType       = FilterMatchType.RegularExpressions;


            grid.CheckBoxes = true;


            grid.CreateColumn("Empnum", "Employee No.", 100, Alignment.MiddleCenter);


            grid.CreateColumn("Name", "Name", 200);
            grid.CreateColumn("Gender", "Gender", 50, Alignment.MiddleCenter).Visible = false;

            grid.CreateColumn("Position", "Position", 90);

            grid.CreateColumn("Department", "Department", 90);

            grid.CreateColumn("TaxCode", "Tax Code", 80);

            grid.CreateColumn("SG", "SG", 40, Alignment.MiddleCenter);
            grid.CreateColumn("Step", "Step", 40, Alignment.MiddleCenter);

            col            = grid.CreateColumn("Exemption", "Tax Exemption", 80, Alignment.MiddleRight);
            col.RenderType = typeof(GridDoubleInputEditControl);


            col            = grid.CreateColumn("BasicSalary", "Salary", 80, Alignment.MiddleRight);
            col.RenderType = typeof(GridDoubleInputEditControl);


            col            = grid.CreateColumn("Active", "Active", 40, Alignment.MiddleCenter);
            col.RenderType = typeof(GridCheckBoxXEditControl);


            grid.CreateRecordInfoColumns();

            // Create COntext Menu;
            CreateGridContextMenu();

            //Define Sort
            grid.SetSort(SGrid.PrimaryGrid.Columns["Name"]);
        }
        protected override void InitializeGrid()
        {
            base.InitializeGrid();

            SGrid.InitializeGrid();

            var grid = SGrid.PrimaryGrid;

            grid.GroupByRow.Visible = false;

            grid.CreateColumn("Code", "Code", 120);
            grid.CreateColumn("Description", "Description", 200);


            grid.CreateRecordInfoColumns();

            // Create COntext Menu;
            CreateGridContextMenu();

            //Define Sort
            grid.SetSort(SGrid.PrimaryGrid.Columns["Lastname"]);
        }
        protected override void InitializeGrid()
        {
            base.InitializeGrid();

            SGrid.InitializeGrid();


            var grid = SGrid.PrimaryGrid;

            grid.GroupByRow.Visible = false;


            grid.CreateColumn("Batch", "Batch", 90);
            grid.CreateColumn("Semester", "Semester", 100);


            grid.CreateRecordInfoColumns();

            // Create COntext Menu;
            CreateGridContextMenu();

            //Define Sort
            grid.SetSort(SGrid.PrimaryGrid.Columns["Batch"]);
        }