using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace FlexSheetExplorer.Controllers
{
public partial class FlexSheetController : Controller
{
public ActionResult MultipleHeaders()
{
return View();
}
}
}
@section Scripts{
<script type="text/javascript" src="~/Scripts/FlexSheet/multipleHeaders.js"></script>
}
<div>
<div class="copy">
<h3>@Html.Raw(Resources.FlexSheet.MultipleHeaders_Text2)</h3>
<p>@Html.Raw(Resources.FlexSheet.MultipleHeaders_Text0)</p>
</div>
<div class="row well well-lg">
<div class="btn-group">
<button type="button" class="btn btn-default" onclick="addRowHeader()">@Html.Raw(Resources.FlexSheet.MultipleHeaders_Text3)</button>
<button type="button" class="btn btn-default" onclick="removeRowHeader()">@Html.Raw(Resources.FlexSheet.MultipleHeaders_Text4)</button>
<button type="button" class="btn btn-default" onclick="addColumnHeader()">@Html.Raw(Resources.FlexSheet.MultipleHeaders_Text5)</button>
<button type="button" class="btn btn-default" onclick="removeColumnHeader()">@Html.Raw(Resources.FlexSheet.MultipleHeaders_Text6)</button>
</div>
</div>
<div>
@(Html.C1().FlexSheet().CssClass("flexSheet").Id("headerSheet")
.AddUnboundSheet("Sheet1", 20, 8))
</div>
</div>
@section Summary{
<p>@Html.Raw(Resources.FlexSheet.MultipleHeaders_Text1)</p>
}