source: ether_statistics/web/resources/js/Wijmo.2.2.2/Wijmo-Complete/development-bundle/samples/combobox/fieldMapping.html @ 651

Last change on this file since 651 was 606, checked in by vmipsl, 12 years ago

images

File size: 3.0 KB
Line 
1<!doctype html>
2<html lang="en">
3<head>
4    <title>ComboBox - FieldMapping</title>
5    <meta charset="utf-8" />
6    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
7    <meta name="description" content="%description%" />
8    <meta name="keywords" content="" />
9    <meta name="author" content="ComponentOne" />
10   
11    <link href="../../themes/rocket/jquery-wijmo.css" rel="stylesheet" type="text/css" />
12   
13    <script src="../../external/jquery-1.8.0.min.js" type="text/javascript"></script>
14    <script src="../../external/jquery-ui-1.8.23.custom.min.js" type="text/javascript"></script>
15    <link href="../../themes/wijmo/jquery.wijmo-open.2.2.2.css" rel="stylesheet" type="text/css" />
16    <link href="../../themes/wijmo/jquery.wijmo.wijcombobox.css" rel="stylesheet" type="text/css" />
17    <script src="../../external/jquery.mousewheel.min.js" type="text/javascript"></script>
18    <script src="../../external/jquery.wijmo-open.all.2.2.2.min.js" type="text/javascript"></script>
19    <script src="../../wijmo/jquery.wijmo.wijdatasource.js" type="text/javascript"></script>
20    <script src="../../wijmo/jquery.wijmo.wijcombobox.js" type="text/javascript"></script>
21    <script id="scriptInit" type="text/javascript">
22        $(document).ready(function () {
23            var testArray = [{
24                language: 'c++'
25            }, {
26                language: 'java'
27            }, {
28                language: 'php'
29            }, {
30                language: 'coldfusion'
31            }, {
32                language: 'javascript'
33            }, {
34                language: 'asp'
35            }, {
36                language: 'ruby'
37            }, {
38                language: 'python'
39            }, {
40                language: 'c'
41            }, {
42                language: 'scala'
43            }, {
44                language: 'groovy'
45            }, {
46                language: 'haskell'
47            }, {
48                language: 'perl'
49            }];
50
51            $("#combo").wijcombobox({
52                dataSource: testArray,
53                data: { label: { bind: "language" }, value: { bind: "language" }}
54            });
55        });
56    </script>
57</head>
58<body class="demo-single">
59    <div class="container">
60        <div class="header">
61            <h2>
62                DataView integration</h2>
63        </div>
64        <div class="main demo">
65            <!-- Begin demo markup -->
66            <div>
67                <input id="combo" />
68            </div>
69
70            <!-- End demo markup -->
71            <div class="demo-options">
72                <!-- Begin options markup -->
73                <!-- End options markup -->
74            </div>
75        </div>
76        <div class="footer demo-description">
77            <p>Display a resizable and editable text box/drop-down list on your HTML page with this easy-to-use combo box widget.
78            </p>
79<p>This sample shows how to add data to populate the combobox, how to add animation, and how to link comboboxes.
80        </div>
81    </div>
82</body>
83</html>
Note: See TracBrowser for help on using the repository browser.