sizeString(default: undefined)
Sets a value controlling size of the component. When undefined (the default), the theme controls the default size. Can also be set to the following string values:
- "small"
- "medium"
- "large"
The
"none"value is deprecated. Use custom CSS instead.
Example - sets a size
<div id="pager"></div>
<script>
var dataSource = new kendo.data.DataSource({
data: [
{ productName: "Tea", category: "Beverages" },
{ productName: "Coffee", category: "Beverages" },
{ productName: "Ham", category: "Food" },
{ productName: "Bread", category: "Food" }
],
pageSize: 2
});
$("#pager").kendoPager({
dataSource: dataSource,
size: "small",
refresh: true
});
dataSource.read();
</script>