or
var myObservable = kendo.observable({
displayText: '',
revealText: function (myText) {
// Do some stuff...
this.set('displayText', myText);
playASound();
}
});
kendo.bind($('#PlayGameContainer'), myObservable);
function playASound() {
// This will play a sound.
}
function addRowsToAListView() {
// This will add some rows to a ListView.
}
Hi
I need to set up initial page number for kendo grid on my MVC Razor form. In previous telerik.mvc grid component I could do somethink like that:
@Html
.Telerik().Grid(Model).Name( ... ).
Columns( ... ).
Pageable(o =>
{
o.Enabled(true);
o.PageSize(30);
o.PageTo(5);
}).
EnableCustomBinding(true).
DataBinding(...).
Render();
}
But in Kendo, Pageablebuilder doesn't contains any more PageSize and PageTo functions.
"PageSize" I can set with DataSource binding, but what with "PageTo". Where can I set it in Kendo?