UNPKG

jqwidgets-scripts-custom

Version:

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

63 lines (61 loc) 2.84 kB
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="keywords" content="ReactJS TreeGrid" /> <title id='Description'> ReactJS Tree Grid demo. The sample illustrates how to add custom CSS styles to TreeGrid cells under specific conditions </title> <meta name="description" content="This React Tree Grid demo showcases how to format grid cells under some conditions"/> <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/jqxdatatable.js"></script> <script type="text/javascript" src="../../../jqwidgets/jqxtreegrid.js"></script> <script type="text/javascript" src="../../../scripts/demos.js"></script> <style> .max { color: black\9; background-color: #63be7b\9; } .avg { color: black\9; background-color: #f8e984\9; } .minavg { color: black\9; background-color: #f9806f\9; } .min { color: black\9; background-color: #f8696b\9; } .max:not(.jqx-grid-cell-hover):not(.jqx-grid-cell-selected), .jqx-widget .max:not(.jqx-grid-cell-hover):not(.jqx-grid-cell-selected) { color: black; background-color: #63be7b; } .avg:not(.jqx-grid-cell-hover):not(.jqx-grid-cell-selected), .jqx-widget .avg:not(.jqx-grid-cell-hover):not(.jqx-grid-cell-selected) { color: black; background-color: #f8e984; } .minavg:not(.jqx-grid-cell-hover):not(.jqx-grid-cell-selected), .jqx-widget .minavg:not(.jqx-grid-cell-hover):not(.jqx-grid-cell-selected) { color: black; background-color: #f9806f; } .min:not(.jqx-grid-cell-hover):not(.jqx-grid-cell-selected), .jqx-widget .min:not(.jqx-grid-cell-hover):not(.jqx-grid-cell-selected) { color: black; background-color: #f8696b; } </style> </head> <body> <div class="example-description" style="margin-bottom: 3em"> ReactJS Tree Grid demo. The sample illustrates how to add custom CSS styles to TreeGrid cells under specific conditions </div> <div id="app"></div> <script src="../build/treegrid_conditionalformatting.bundle.js"></script> </body> </html>