Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use Kendo UI for jQuery data Management

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

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!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report