Skip to content

Commit

Permalink
Sync with Kendo UI Professional
Browse files Browse the repository at this point in the history
  • Loading branch information
kendo-bot committed Oct 15, 2024
1 parent 934537e commit defa706
Show file tree
Hide file tree
Showing 20 changed files with 405 additions and 305 deletions.
6 changes: 3 additions & 3 deletions docs-aspnet/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -707,13 +707,13 @@ navigation:
baseurl: /aspnet-core

## The Kendo UI version used
cdnVersion: "2024.3.806"
cdnVersion: "2024.3.1015"

## The themes CDN used
themesCdnVersion: "8.2.1"
themesCdnVersion: "9.0.0"

## The MVC Core version used
mvcCoreVersion: "2024.3.806"
mvcCoreVersion: "2024.3.1015"

ff-sheet-id: 1mottKpkbJFxkUq6rS3CsPrT8JQOE2JlUtsJBR622cxs

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,6 @@ position: 1
# 2024 Releases

This article lists the breaking or important changes in the 2024 releases of {{ site.product }}.
{% if site.core %}
## {{ site.product }} Q4 2024

### Checkbox

The `Rounded` configuration hor the HTML Helpers now expects [`Kendo.Mvc.UI.Rounded`](https://docs.telerik.com/aspnet-core/api/kendo.mvc.ui/rounded) enum instead of [`Kendo.Mvc.UI.BasicRounded`](https://docs.telerik.com/aspnet-core/api/kendo.mvc.ui/basicrounded), exposing an additional `Full` option.
{% endif %}

## {{ site.product }} Q2 2024

Expand Down
1 change: 1 addition & 0 deletions docs-aspnet/styles-and-layout/sass-themes/compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ The following table lists the Telerik UI for {{ site.framework }} versions and t

| Telerik UI for {{ site.framework }} | Kendo UI Sass Themes |
|:--- |:--- |
| Telerik UI 2024.3.1015 (2024.3.1015) | @progress/kendo-theme-bootstrap@9.0.0<br>@progress/kendo-theme-classic@9.0.0<br>@progress/kendo-theme-default@9.0.0<br>@progress/kendo-theme-fluent@9.0.0<br>@progress/kendo-theme-material@9.0.0 |
| Telerik UI 2024.3.806 (Q3 2024) | @progress/kendo-theme-bootstrap@8.2.1<br>@progress/kendo-theme-classic@8.2.1<br>@progress/kendo-theme-default@8.2.1<br>@progress/kendo-theme-fluent@8.2.1<br>@progress/kendo-theme-material@8.2.1 |
| Telerik UI 2024.2.514 (Q2 2024) | @progress/kendo-theme-bootstrap@8.0.1<br>@progress/kendo-theme-classic@8.0.1<br>@progress/kendo-theme-default@8.0.1<br>@progress/kendo-theme-fluent@8.0.1<br>@progress/kendo-theme-material@8.0.1 |
| Telerik UI 2024.1.319 (2024.1.319) | @progress/kendo-theme-bootstrap@7.2.1<br>@progress/kendo-theme-classic@7.2.1<br>@progress/kendo-theme-default@7.2.1<br>@progress/kendo-theme-fluent@7.2.1<br>@progress/kendo-theme-material@7.2.1 |
Expand Down
15 changes: 15 additions & 0 deletions docs-aspnet/vs-code-integration/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,21 @@ The following project templates are available:
</ul>
</td>
</tr>
<tr>
<td><strong>The Content Security Policy (CSP)</strong></td>
<td><p>Content Security Policy (CSP) template features:</p>
<ul>
<li> A Menu in <code>_Layout.cshtml</code>.</li>
<li> A Detail Grid with a TabStrip in <code>Index.cshtml</code>.</li>
<li> A Child Grid in <code>_Child_Grid.cshtml</code>.</li>
<li> A <a href='https://docs.telerik.com/{{ site.platform }}/html-helpers/helper-basics/deferred-initialization#deferring-components-globally' target="_blank">DeferredToScriptFiles</a> setting in <code>Program.cs</code>.
</li>
<li>
A <code>KendoDeferredScripts</code> Middleware in <code>Program.cs</code>.
</li>
</ul>
</td>
</tr>
<tr>
<td><strong>Grid and Menu</strong></td>
<td><p>The Grid and Menu template features:</p>
Expand Down
15 changes: 15 additions & 0 deletions docs-aspnet/vs-integration/new-project-wizard.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,21 @@ The following project templates are available:
</ul>
</td>
</tr>
<tr>
<td><strong>The Content Security Policy (CSP)</strong></td>
<td><p>Content Security Policy (CSP) template features:</p>
<ul>
<li> A Menu in <code>_Layout.cshtml</code>.</li>
<li> A Detail Grid with a TabStrip in <code>Index.cshtml</code>.</li>
<li> A Child Grid in <code>_Child_Grid.cshtml</code>.</li>
<li> A <a href='https://docs.telerik.com/{{ site.platform }}/html-helpers/helper-basics/deferred-initialization#deferring-components-globally' target="_blank">DeferredToScriptFiles</a> setting in <code>Program.cs</code>.
</li>
<li>
A <code>KendoDeferredScripts</code> Middleware in <code>Program.cs</code>.
</li>
</ul>
</td>
</tr>
<tr>
<td><strong>Grid and Menu</strong></td>
<td><p>The Grid and Menu template features:</p>
Expand Down
6 changes: 3 additions & 3 deletions docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -712,13 +712,13 @@ navigation:
baseurl: /kendo-ui

## The Kendo UI version used
cdnVersion: "2024.3.806"
cdnVersion: "2024.3.1015"

## The themes CDN used
themesCdnVersion: "8.2.1"
themesCdnVersion: "9.0.0"

## The MVC Core version used
mvcCoreVersion: "2024.3.806"
mvcCoreVersion: "2024.3.1015"

## Progress NPM Registry
registry_url: 'https://registry.npm.telerik.com/'
Expand Down
93 changes: 53 additions & 40 deletions docs/api/javascript/data/pivotdatasource.md
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ The result has the following format and attributes.
var dataSource = new kendo.data.PivotDataSource({
transport: {
/* transport configuration */
}
},
schema: {
axes: "axes" // axes are returned in the "axes" field of the response
}
Expand All @@ -408,7 +408,7 @@ The result has the following format and attributes.
var dataSource = new kendo.data.PivotDataSource({
transport: {
/* transport configuration */
}
},
schema: {
axes: function(response) {
return response.axes; // axes are returned in the "axes" field of the response
Expand Down Expand Up @@ -437,7 +437,7 @@ The result has the following format and attributes.
var dataSource = new kendo.data.PivotDataSource({
transport: {
/* transport configuration */
}
},
schema: {
catalogs: "catalogs" // catalogs information is returned in the "catalogs" field of the response
}
Expand All @@ -450,7 +450,7 @@ The result has the following format and attributes.
var dataSource = new kendo.data.PivotDataSource({
transport: {
/* transport configuration */
}
},
schema: {
catalogs: function(response) {
return response.catalogs; // catalogs information are returned in the "catalogs" field of the response
Expand All @@ -475,7 +475,7 @@ The result has the following format and attributes.
var dataSource = new kendo.data.PivotDataSource({
transport: {
/* transport configuration */
}
},
schema: {
cubes: "cubes" // cubes information is returned in the "cubes" field of the response
}
Expand All @@ -488,7 +488,7 @@ The result has the following format and attributes.
var dataSource = new kendo.data.PivotDataSource({
transport: {
/* transport configuration */
}
},
schema: {
cubes: function(response) {
return response.cubes; // cubes information are returned in the "cubes" field of the response
Expand Down Expand Up @@ -641,6 +641,7 @@ The context for the current aggregate call. Includes the current data item and i
"Average": {
field: "UnitPrice",
aggregate: "average"
}
}
}
}
Expand Down Expand Up @@ -671,7 +672,8 @@ The context for the current aggregate call. Includes the current data item and i
field: "UnitPrice",
aggregate: function(value, state, context) {
return (state.accumulator || 0) + value;
}
}
}
}
}
}
Expand Down Expand Up @@ -766,7 +768,7 @@ The result has the following format and attributes.
var dataSource = new kendo.data.PivotDataSource({
transport: {
/* transport configuration */
}
},
schema: {
data: "data" // cells data are returned in the "data" field of the response
}
Expand All @@ -779,7 +781,7 @@ The result has the following format and attributes.
var dataSource = new kendo.data.PivotDataSource({
transport: {
/* transport configuration */
}
},
schema: {
data: function(response) {
return response.data; // cells data are returned in the "data" field of the response
Expand Down Expand Up @@ -821,7 +823,7 @@ The result has the following format and attributes.
var dataSource = new kendo.data.PivotDataSource({
transport: {
/* transport configuration */
}
},
schema: {
dimensions: "dimensions" // dimensions information is returned in the "dimensions" field of the response
}
Expand All @@ -834,7 +836,7 @@ The result has the following format and attributes.
var dataSource = new kendo.data.PivotDataSource({
transport: {
/* transport configuration */
}
},
schema: {
dimensions: function(response) {
return response.dimensions; // dimensions information are returned in the "dimensions" field of the response
Expand Down Expand Up @@ -879,7 +881,7 @@ The result has the following format and attributes.
var dataSource = new kendo.data.PivotDataSource({
transport: {
/* transport configuration */
}
},
schema: {
hierarchies: "hierarchies" // hierarchies schema information is returned in the "hierarchies" field of the response
}
Expand All @@ -892,7 +894,7 @@ The result has the following format and attributes.
var dataSource = new kendo.data.PivotDataSource({
transport: {
/* transport configuration */
}
},
schema: {
hierarchies: function(response) {
return response.hierarchies; // hierarchies information are returned in the "hierarchies" field of the response
Expand Down Expand Up @@ -938,7 +940,7 @@ The result has the following format and attributes.
var dataSource = new kendo.data.PivotDataSource({
transport: {
/* transport configuration */
}
},
schema: {
levels: "levels" // levels information is returned in the "levels" field of the response
}
Expand All @@ -951,7 +953,7 @@ The result has the following format and attributes.
var dataSource = new kendo.data.PivotDataSource({
transport: {
/* transport configuration */
}
},
schema: {
levels: function(response) {
return response.levels; // levels information are returned in the "levels" field of the response
Expand Down Expand Up @@ -994,7 +996,7 @@ The result has the following format.
var dataSource = new kendo.data.PivotDataSource({
transport: {
/* transport configuration */
}
},
schema: {
measures: "measures" // measures information is returned in the "measures" field of the response
}
Expand All @@ -1007,7 +1009,7 @@ The result has the following format.
var dataSource = new kendo.data.PivotDataSource({
transport: {
/* transport configuration */
}
},
schema: {
measures: function(response) {
return response.measures; // measures information are returned in the "measures" field of the response
Expand Down Expand Up @@ -1235,30 +1237,41 @@ The options of the discover request.
#### Example

<script>
var dataSource = new kendo.data.PivotDataSource({
type: "xmla",
transport: {
connection: {
catalog: "Adventure Works DW 2008R2"
},
read: "https://demos.telerik.com/olap/msmdpump.dll"
},
schema: {
type: "xmla"
}
});

dataSource.discover({
data: {
command: "schemaMeasures",
restrictions: {
catalogName: dataSource.catalog(),
cubeName: dataSource.cube()
var dataSource = new kendo.data.PivotDataSource({
columns: ["ProductName" ],
rows: ["Category"],
measures: ["Sum"],
data: [{ ProductName: "Chai", UnitPrice: 42, Cateogry: "Beverages" } ],
schema: {
cube: {
dimensions: {
ProductName: { caption: "All Products" },
Category: { caption: "All Cateogries" }
},
measures: {
"Average": {
field: "UnitPrice",
aggregate: function(value, state, context) {
if (!isNaN(value)) {
state.count = (state.count || 0) + 1;
return (state.accumulator || 0) + value;
} else {
return state.accumulator;
}
},
result: function(state) {
return state.accumulator / state.count;
}
}
}
}
}).done(function(response) {
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(response);
});
}
});

dataSource.fetch(function() {
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(dataSource.data(), dataSource.axes());
});
</script>

### expandColumn
Expand Down
3 changes: 2 additions & 1 deletion docs/api/javascript/data/pivotdatasourcev2.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ The configuration used to load data items and discover schema information.
The configuration which is used when the data source discovers the schema information about the current cube.

* If the value of `transport.discover` is a string, the data source uses this string as the URL of the remote service.

#### Example - set the discover remote service

<script>
Expand All @@ -249,7 +250,7 @@ The configuration which is used when the data source discovers the schema inform
read: "https://demos.telerik.com/olap/msmdpump.dll"
}
});
dataSource.discover();
dataSource.discover({ command: "schemaCatalogs" });
</script>

### transport.connection `Object`
Expand Down
Loading

0 comments on commit defa706

Please sign in to comment.