BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
//To hide context menu option based on index value.
this.XLCMenu.hideItem(ej.Spreadsheet.ContextMenu.Cell, [1, 2, 3, 8, 16, 21]);
//To show context menu option based on index value.
this.XLCMenu.showItem(ej.Spreadsheet.ContextMenu.Cell, [21]); //21 index => Format Cells
|
@(Html.EJ().Spreadsheet<object>("Spreadsheet")
.AllowDelete(false) //Disable Delete feature
//...
)
|
@(Html.EJ().Spreadsheet<object>("Spreadsheet")
.ShowRibbon(false) //To hide Ribbon
//...
)
|
@(Html.EJ().Spreadsheet<object>("Spreadsheet")
//...
.ClientSideEvents(eve => eve.LoadComplete("onLoadComplete").CellSave("onCellSave"))
)
var ddData = [{ text: "C5:C15", value: "C3:C4" } , ...];
function onLoadComplete(args) {
if (!this.isImport) {
//...
this.XLCellType.addCellTypes("A3", { 'type': ej.Spreadsheet.CustomCellType.DropDownList, 'dataSource': ddData, 'field': 'text' });
}
}
function onCellSave(args) {
if (args.selectedText && args.selectedValue) {
this.XLDragFill.autoFill({
dataRange: args.selectedValue,
fillRange: args.selectedText,
direction: ej.Spreadsheet.autoFillDirection.Down,
fillType: ej.Spreadsheet.AutoFillOptions.FillSeries,
isKeyFill: true
});
}
}
|
Can you please suggest me best options on it and if possible sample application. Also I have tried using this in a partial view and loaded the view in the parent view, but it is displaying nothing..
Is this compatible to work with partial views?
Thanks!
Rajesh