Apr 16, 2013, 8:33 AM
How to customize eventmask (loading text) for GridPanel in MVC
Hello I have the following partial View:
When i click the refresh button of grid's pager, the text "Loading..." appears for a little while.
How can i change this text?
@using Ext.Net
@using Ext.Net.MVC
@{
var x = Html.X();
}
@(x.Window().Title("Title")
.Icon(Icon.TextListBullets)
.Modal(true)
.Closable(true)
.Layout(LayoutType.Fit).Width(600).Height(400)
.Items
(
x.GridPanel().ID("grdView")
.Store
(
x.Store().Model
(
x.Model().Fields
(
x.ModelField().Name("x"),
x.ModelField().Name("y"),
x.ModelField().Name("z")
)
)
.RemoteSort(true).AutoLoad(true).RemotePaging(true).PageSize(15)
.Proxy(x.AjaxProxy().Url(Url.Action("GetResults", "MyController",new {id = 5}))
.Reader(x.JsonReader().Root("data")))
)
.ColumnModel
(
x.Column().Sortable(false).Hideable(false).DataIndex("x"),
x.Column().Sortable(false).Hideable(false).DataIndex("y"),
x.Column().Sortable(false).Hideable(false).DataIndex("z")
)
.BottomBar
(
x.PagingToolbar()
)
))
This partial view is loaded and shown in a modal window.When i click the refresh button of grid's pager, the text "Loading..." appears for a little while.
How can i change this text?