How to use Kendo UI for jQuery data Management
This article focuses on "how to use Kendo UI for jQuery data management", interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Let the editor take you to learn "how to use Kendo UI for jQuery data management"!
Download 2021 SP2 trial version of Kendo UI for jQuery R1
Kendo UI is the final collection of JavaScript UI components with jQuery, Angular, React, and Vue libraries, and no matter which JavaScript framework you choose, you can quickly build high-performance, responsive Web applications. With customizable UI components, Kendo UI can create data-rich desktop, tablet, and mobile Web applications. Kendo UI accelerates development time by 50 per cent through responsive layout, strong data binding, cross-browser compatibility, and ready-to-use themes.
The following example shows how to display a tooltip when a user hovers over a data cell element in a Kendo UI PivotGrid widget.
Rows: #: rowText#Columns: #: columnText#Value: #: value? Value: "function A" # $(document) .ready (function () {$("# pivotgrid"). KendoPivotGrid ({columnWidth: 120 (height): 570 fields DataSource: {data: products,schema: {model: {fields: {type: "string"}, UnitPrice: {type: "number"}, UnitsInStock: {type: "number"}, Discontinued: {type: "boolean"}, CategoryName: {field: "Category.CategoryName"}) Cube: {dimensions: {caption: "All Products"}, CategoryName: {caption: "All Categories"}, Discontinued: {caption: "All Discontinued"}}, measures: {"Sum": {field: "UnitPrice", format: "{0ProductName c}", aggregate: "sum"}, rows: [{name: "CategoryName", expand: true}, {name: "ProductName"}] Columns: [{name: "Discontinued", expand: true}], measures: ["Sum"]}}) $(".k-grid-content") .kendoTooltip ({filter: "td", content: 400 height: 100 position: "top"}); $(".k-grid-content") .click (toolTip); function toolTip (e) {var target = $(e.target); var grid = $("# pivotgrid") .getKendoPivotGrid (); var cellInfo = grid.cellInfoByElement (target) Return kendo.template ($("# template"). Html () ({rowText: generateName (cellInfo.rowTuple), columnText: generateName (cellInfo.columnTuple), value: cellInfo.dataItem.fmtValue});} function generateName (tuple) {var text = ""; var members = tuple.members;for (var idx = 0, length = members.length; idx)
< length; idx++) {text += members[idx].name;if (members[idx + 1]) {text += "->";}} return text;}); at this point, I believe you have a deeper understanding of" how to use Kendo UI for jQuery data management ", you might as well do it! here is the website, more related content can go to the relevant channels to query, follow us, continue to learn!