After upgrading syncfusion from 14.2.0.32 to 14.4.0.15 and fixing some js & css file naming changes,
i get the following error when loading page & rendering a grid (previous ver working fine)
uncaught exception: ejScroller: methods/properties can be accessed only after plugin creation
t.throwError@http://localhost:52302/Scripts/ej/ej.web.all.min.js:10:27908
t.widget/n.fn[f]@http://localhost:52302/Scripts/ej/ej.web.all.min.js:10:21809
t.gridFeatures.common.getScrollObject@http://localhost:52302/Scripts/ej/ej.web.all.min.js:10:2529594
t.gridFeatures.selection.selectRows@http://localhost:52302/Scripts/ej/ej.web.all.min.js:10:2868760
@http://localhost:52302/:246:13
n.Callbacks/i@http://localhost:52302/Scripts/jquery-2.2.3.min.js:2:27146
n.Callbacks/j.fireWith@http://localhost:52302/Scripts/jquery-2.2.3.min.js:2:27914
.ready@http://localhost:52302/Scripts/jquery-2.2.3.min.js:2:29705
J@http://localhost:52302/Scripts/jquery-2.2.3.min.js:2:29890
Here is my grid code :
@(Html.EJ().Grid<ProcessStatusModel>("SFGridProcessStatus")
.Locale(WorkingLocale)
.GridLines(GridLines.Vertical)
.EnableHeaderHover(true)
.EnableTouch(false)
.AllowPaging(true).PageSettings(page => { page.PageSize(15); })
.AllowFiltering(true).FilterSettings(d => d.FilterType(FilterType.Menu))
.AllowSorting(true).AllowMultiSorting().SortSettings(sort =>
{
sort.SortedColumns(col => col.Field("CompanyCode").Add());
})
.AllowGrouping(true).GroupSettings(group => { group.EnableDropAreaAutoSizing(true); })
.AllowResizing(true)
.AllowReordering(true)
.ShowColumnChooser()
.ContextMenuSettings(contextMenu => { contextMenu.EnableContextMenu(); })
.MinWidth(650)
.IsResponsive(true).AllowScrolling(true)
.EditSettings(edit => { edit.AllowAdding(false).AllowEditing(false).EditMode(EditMode.Normal).AllowEditOnDblClick(true).AllowDeleting(false).ShowDeleteConfirmDialog(true); })
.ToolbarSettings(toolbar =>
{
toolbar.ShowToolbar(true)
.ToolbarItems(items =>
{
items.AddTool(ToolBarItems.Search);
})
.CustomToolbarItems(new List<object>() {
new CustomToolbarItem() { TemplateID = "#sfgrid-btn-expand" },
new CustomToolbarItem() { TemplateID = "#sfgrid-btn-collapse" }
});
})
.Columns(col =>
{
col.Field("CompanyId").HeaderText(T("Common.Id").Text).IsPrimaryKey(true).IsIdentity(true).Visible(false).AllowEditing(false).Add();
col.Field("CompanyCode").HeaderText(T("Company.CompanyCode").Text).Width(100).Add();
col.Field("CompanyName").HeaderText(T("Company.CompanyName").Text).Width(230).Add();
})