-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
36 lines (31 loc) · 1014 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8"/>
<link href="../extjs-4.1.1/resources/css/ext-all.css" rel="stylesheet" type="text/css"/>
<script src="../extjs-4.1.1/ext-all.js" type="text/javascript"></script>
<script src="Ext.ux.toolbar.PagingOptions.js" type="text/javascript"></script>
</head>
<body>
<script type="text/javascript">
Ext.onReady(function () {
Ext.create('Ext.ux.toolbar.PagingOptions', {
store : new Ext.data.Store({
fields : ['foo', 'bar'],
data : []
}),
displayInfo : true,
displayMsg : 'Displaying topics {0} - {1} of {2}',
emptyMsg : "No topics to display",
renderTo : Ext.getBody(),
width : 500,
listeners : {
pagesizeselect : function (size) {
alert(size);
}
}
})
});
</script>
</body>
</html>