// GET: DefaultFunctionalities
        public ActionResult SelfReferenceData()
        {
            var treeData = TreeGridItems.GetSelfData();

            ViewBag.datasource = treeData;
            return(View());
        }
Пример #2
0
        // GET: CheckboxSelection
        public ActionResult CheckboxSelection()
        {
            var treeData = TreeGridItems.GetTreeData();

            ViewBag.datasource = treeData;
            return(View());
        }
        // GET: RowHover
        public ActionResult RowHover()
        {
            var treeData = TreeGridItems.GetTreeData();

            ViewBag.datasource = treeData;
            return(View());
        }
        // GET: KeyboardsInteraction
        public ActionResult KeyboardInteraction()
        {
            var treeData = TreeGridItems.GetTreeData();

            ViewBag.datasource = treeData;
            return(View());
        }
        // GET: DefaultFunctionalities
        public ActionResult ToolbarTemplate()
        {
            var treeData = TreeGridItems.GetTreeData();

            ViewBag.datasource = treeData;
            return(View());
        }
Пример #6
0
        public ActionResult DefaultContextMenu()
        {
            var treeData = TreeGridItems.GetTreeData();

            ViewBag.datasource = treeData;
            return(View());
        }
Пример #7
0
        public ActionResult DefaultExporting()
        {
            var treeData = TreeGridItems.GetTreeData();

            ViewBag.datasource = treeData;
            return(View());
        }
        public ActionResult ConditionalFormatting()
        {
            var treeData = TreeGridItems.GetTreeData();

            ViewBag.datasource = treeData;
            return(View());
        }
        public ActionResult ColumnReorder()
        {
            var treeData = TreeGridItems.GetTreeData();

            ViewBag.datasource = treeData;

            List <object> dd = new List <object>();

            dd.Add(new { text = "Task ID", value = "TaskId" });
            dd.Add(new { text = "Task Name", value = "TaskName" });
            dd.Add(new { text = "Start Date", value = "StartDate" });
            dd.Add(new { text = "Duration", value = "Duration" });
            dd.Add(new { text = "Progress", value = "Progress" });
            ViewBag.columns = dd;

            List <object> index = new List <object>();

            index.Add(new { text = "1", value = "0" });
            index.Add(new { text = "2", value = "1" });
            index.Add(new { text = "3", value = "2" });
            index.Add(new { text = "4", value = "3" });
            index.Add(new { text = "5", value = "4" });
            ViewBag.index = index;

            return(View());
        }
Пример #10
0
        // GET: Clipboard
        public ActionResult Clipboard()
        {
            var treeData = TreeGridItems.GetTreeData();

            ViewBag.datasource = treeData;
            List <DialogDialogButton> buttons = new List <DialogDialogButton>()
            {
            };

            buttons.Add(new DialogDialogButton()
            {
                Click = "alertBtnClick", ButtonModel = new customButtonModel()
                {
                    content = "OK", isPrimary = true
                }
            });
            ViewBag.alertbutton = buttons;
            List <Object> dropData = new List <object>()
            {
                new { id = "Parent", mode = "Parent" },
                new { id = "Child", mode = "Child" },
                new { id = "Both", mode = "Both" },
                new { id = "None", mode = "None" }
            };

            ViewBag.dropdata = dropData;
            return(View());
        }
        // GET: DefaultFunctionalities
        public ActionResult ColumnResizing()
        {
            var treeData = TreeGridItems.GetTreeData();

            ViewBag.datasource = treeData;
            return(View());
        }
        // GET: DefaultFunctionalities
        public ActionResult DefaultFunctionalities()
        {
            var treeData = TreeGridItems.GetTreeData();

            ViewBag.datasource = treeData;
            return(View());
        }
        // GET: DefaultFunctionalities
        public ActionResult DragAndDrop()
        {
            var treeData = TreeGridItems.GetTreeData();

            ViewBag.datasource = treeData;
            return(View());
        }
Пример #14
0
        // GET: DefaultFunctionalities
        public ActionResult CellEditType()
        {
            var treeData = TreeGridItems.GetTreeData();

            ViewBag.datasource = treeData;
            return(View());
        }
        // GET: DefaultFunctionalities
        public ActionResult PagingAPI()
        {
            ViewBag.dropdata = new List <object>()
            {
                new { id = "All", mode = "All" },
                new { id = "Root", mode = "Root" }
            };

            var treeData = TreeGridItems.GetTreeData();

            ViewBag.datasource = treeData;
            return(View());
        }
        // GET: DefaultFunctionalities
        public ActionResult ShowHide()
        {
            var treeData = TreeGridItems.GetTreeData();

            ViewBag.datasource = treeData;
            List <object> dd = new List <object>();

            dd.Add(new { text = "Task ID", value = "TaskId" });
            dd.Add(new { text = "Start Date", value = "StartDate" });
            dd.Add(new { text = "Duration", value = "Duration" });
            dd.Add(new { text = "Progress", value = "Progress" });
            ViewBag.columns = dd;

            return(View());
        }
        public ActionResult InlineEditing()
        {
            var treeData = TreeGridItems.GetTreeData();

            ViewBag.datasource = treeData;

            List <Object> dropData = new List <object>()
            {
                new { value = "Row", text = "Row Editing" },
                new { value = "Cell", text = "Cell Editing" },
            };

            ViewBag.dropdata = dropData;
            return(View());
        }
Пример #18
0
        public ActionResult LockRow()
        {
            var treeData = TreeGridItems.GetTreeData();

            ViewBag.datasource = treeData;

            List <Object> dropdata = new List <Object>();

            for (var i = 1; i <= 36; i++)
            {
                dropdata.Add(new { text = i.ToString(), value = i });
            }
            ViewBag.dropdata = dropdata;

            return(View());
        }
        public ActionResult Search()
        {
            var treeData = TreeGridItems.GetTreeData();

            ViewBag.datasource = treeData;

            List <Object> dropData = new List <object>()
            {
                new { id = "Parent", mode = "Parent" },
                new { id = "Child", mode = "Child" },
                new { id = "Both", mode = "Both" },
                new { id = "None", mode = "None" }
            };

            ViewBag.dropdata = dropData;
            return(View());
        }
        // GET: DefaultFunctionalities
        public ActionResult GridLines()
        {
            var treeData = TreeGridItems.GetTreeData();

            ViewBag.datasource = treeData;

            List <Object> dropData = new List <object>()
            {
                new { id = "Horizontal", type = "Horizontal" },
                new { id = "Vertical", type = "Vertical" },
                new { id = "Both", type = "Both" },
                new { id = "None", type = "None" },
            };

            ViewBag.dropdata = dropData;
            return(View());
        }
Пример #21
0
        // GET: DefaultFunctionalities
        public ActionResult SortingApi()
        {
            var treeData = TreeGridItems.GetTreeData();

            ViewBag.datasource = treeData;

            List <object> dd = new List <object>();

            dd.Add(new { name = "Task ID", id = "TaskId" });
            dd.Add(new { name = "Start Date", id = "StartDate" });
            dd.Add(new { name = "Duration", id = "Duration" });
            dd.Add(new { name = "Progress", id = "Progress" });
            ViewBag.dd = dd;

            List <object> index = new List <object>();

            index.Add(new { name = "Ascending", id = "Ascending" });
            index.Add(new { name = "Descending", id = "Descending" });
            ViewBag.index = index;
            return(View());
        }
Пример #22
0
        public ActionResult Selection()
        {
            var treeData = TreeGridItems.GetTreeData();

            ViewBag.datasource = treeData;
            ViewBag.typedata   = new List <object>()
            {
                new { id = "Single", type = "Single" },
                new { id = "Multiple", type = "Multiple" }
            };
            ViewBag.modedata = new List <object>()
            {
                new { id = "Row", mode = "Row" },
                new { id = "Cell", mode = "Cell" }
            };
            ViewBag.cellmodedata = new List <object>()
            {
                new { id = "Flow", cellmode = "Flow" },
                new { id = "Box", cellmode = "Box" }
            };

            return(View());
        }
        // GET: CellAlignment
        public ActionResult CellAlignment()
        {
            var treeData = TreeGridItems.GetTreeData();

            ViewBag.datasource = treeData;

            List <object> dd = new List <object>();

            dd.Add(new { name = "Task ID", id = "TaskId" });
            dd.Add(new { name = "Start Date", id = "StartDate" });
            dd.Add(new { name = "Duration", id = "Duration" });
            dd.Add(new { name = "Progress", id = "Progress" });
            ViewBag.dd = dd;

            List <object> index = new List <object>();

            index.Add(new { name = "Right", id = "Right" });
            index.Add(new { name = "Left", id = "Left" });
            index.Add(new { name = "Center", id = "Center" });
            index.Add(new { name = "Justify", id = "Justify" });
            ViewBag.index = index;
            return(View());
        }
Пример #24
0
        public ActionResult FilterMenu()
        {
            var treeData = TreeGridItems.GetTreeData();

            ViewBag.datasource = treeData;

            List <Object> dropData = new List <object>()
            {
                new { id = "Parent", mode = "Parent" },
                new { id = "Child", mode = "Child" },
                new { id = "Both", mode = "Both" },
                new { id = "None", mode = "None" }
            };

            ViewBag.dropdata = dropData;
            List <Object> typedropData = new List <object>()
            {
                new { id = "Menu", type = "Menu" },
                new { id = "Excel", type = "Excel" }
            };

            ViewBag.typedropdata = typedropData;
            return(View());
        }
 // GET: DetailTemplate
 public ActionResult DetailTemplate()
 {
     ViewBag.datasource = TreeGridItems.GetTemplateData();
     return(View());
 }
Пример #26
0
 // GET: FrozenColumn
 public ActionResult FrozenColumn()
 {
     ViewBag.datasource = TreeGridItems.GetTreeData();
     return(View());
 }
Пример #27
0
 // GET: DefaultScrolling
 public ActionResult DefaultScrolling()
 {
     ViewBag.datasource = TreeGridItems.GetTreeData();
     return(View());
 }