UNPKG

jqwidgets-scripts-custom

Version:

jQWidgets is an advanced jQuery, Angular 7, Vue, React, ASP .NET MVC, Custom Elements and HTML5 UI framework.

28 lines (27 loc) 1.51 kB
<!DOCTYPE html> <html lang="en"> <head> <title id='Description'>React PivotGrid custom data aggregation functions</title> <link rel="stylesheet" href="../jqwidgets/styles/jqx.base.css" type="text/css" /> <script type="text/javascript" src="../jqwidgets/jqxcore.js"></script> <script type="text/javascript" src="../jqwidgets/jqxdata.js"></script> <script type="text/javascript" src="../jqwidgets/jqxbuttons.js"></script> <script type="text/javascript" src="../jqwidgets/jqxscrollbar.js"></script> <script type="text/javascript" src="../jqwidgets/jqxmenu.js"></script> <script type="text/javascript" src="../jqwidgets/jqxpivot.js"></script> <script type="text/javascript" src="../jqwidgets/jqxpivotgrid.js"></script> <script type="text/javascript" src="../scripts/demos.js"></script> </head> <body class='default'> <div id="app" style='width: 800px; height: 400px;'></div> <script src="../build/pivotgrid_custom_pivot_function.bundle.js"></script> <div class="example-description"> <h2>Description</h2> <div style="width: 800px;"> This is an example of ReactJS Pivot Grid with a custom data aggregation function. The react pivot grid provides several built-in functions: count, sum, min, max, average, product. In this example, we implement a custom function that calculates the variance of the data points of the respective cell inside the React PivotGrid. </div> </div> </body> </html>