Skip to content

Commit 1282d86

Browse files
author
Kendo Bot
committed
Sync with Kendo UI Professional
1 parent 582ddc1 commit 1282d86

23 files changed

+3427
-1129
lines changed

docs/api/javascript/ui/grid.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6111,6 +6111,30 @@ The height of the grid. Numeric values are treated as pixels.
61116111
});
61126112
</script>
61136113

6114+
### loaderType `String` *(default: "loadingPanel")*
6115+
6116+
Defines what loader will be used while loading the data. Possible values are:
6117+
6118+
- "loadingPanel" - a panel with a circular loading indicator.
6119+
- "skeleton" - a skeleton enabled loader.
6120+
6121+
#### Example - set the loaderType
6122+
6123+
<div id="grid"></div>
6124+
<script>
6125+
$("#grid").kendoGrid({
6126+
columns: [
6127+
{ field: "name" },
6128+
{ field: "age" }
6129+
],
6130+
dataSource: [
6131+
{ name: "Jane Doe", age: 30 },
6132+
{ name: "John Doe", age: 33 }
6133+
],
6134+
loaderType: "skeleton"
6135+
});
6136+
</script>
6137+
61146138
### messages `Object`
61156139

61166140
Defines the text of the command buttons that are shown within the Grid. Used primarily for localization.

0 commit comments

Comments
 (0)