25 строки
1.5 KiB
Plaintext
25 строки
1.5 KiB
Plaintext
|
<%@ Page Title="Gantt-Default Functionalities-ASP.NET-SYNCFUSION" Language="C#" MetaDescription="This example illustrates the default functionality of the context menu in the Syncfusion Gantt chart control." MasterPageFile="~/Samplebrowser.Master" AutoEventWireup="true" CodeBehind="DefaultContextMenu.aspx.cs" Inherits="WebSampleBrowser.Gantt.DefaultContextMenu" %>
|
||
|
<asp:Content ID="Content1" ContentPlaceHolderID="SampleHeading" runat="server">
|
||
|
<span class="sampleName">Gantt / Default Funtionalities</span>
|
||
|
</asp:Content>
|
||
|
|
||
|
<asp:Content ID="ControlContent" runat="server" ContentPlaceHolderID="ControlsSection">
|
||
|
<div>
|
||
|
<ej:Gantt ID="GanttControlEditing" runat="server" AllowSelection="true" AllowColumnResize="true"
|
||
|
TaskIdMapping="Id" TaskNameMapping="Name" ScheduleStartDate="02/23/2017" ScheduleEndDate="03/30/2017"
|
||
|
StartDateMapping="StartDate" EndDateMapping="EndDate" ProgressMapping="PercentDone" IsResponsive="true"
|
||
|
ChildMapping="Children" TreeColumnIndex="1" AllowGanttChartEditing="false" PredecessorMapping="Predecessor" EnableContextMenu="true" Load="load">
|
||
|
<EditSettings AllowEditing="true" AllowAdding="true" AllowDeleting="true" AllowIndent="true" EditMode="cellEditing" />
|
||
|
<SizeSettings Width="100%" Height="450px" />
|
||
|
</ej:Gantt>
|
||
|
</div>
|
||
|
</asp:Content>
|
||
|
<asp:Content ID="Content3" runat="server" ContentPlaceHolderID="ScriptSection">
|
||
|
<script type="text/javascript">
|
||
|
function load(args) {
|
||
|
this.getColumns()[0].width = 60;
|
||
|
}
|
||
|
</script>
|
||
|
</asp:Content>
|
||
|
|