How to use the @hpcc-js/other.Select function in @hpcc-js/other

To help you get started, we’ve selected a few @hpcc-js/other examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github hpcc-systems / Visualization / tests / test-other / src / other.spec.ts View on Github external
["Science", 1],
                                        ["Geography", 3],
                                        ["Irish", 5],
                                        ["English", 7],
                                        ["Spanish", 2],
                                        ["Physics", 4],
                                        ["Astrology", 6]
                                    ])
                                    .label("Label:  ")
                                    .valueColumn("Col Value")
                                    .textColumn("Col Label")
                                );
                                */
                                break;
                            case Select:
                                render(new Select()
                                    .columns(["Col Label", "Col Value"])
                                    .data([
                                        ["Math", 0],
                                        ["Science", 1],
                                        ["Geography", 3],
                                        ["Irish", 5],
                                        ["English", 7],
                                        ["Spanish", 2],
                                        ["Physics", 4],
                                        ["Astrology", 6]
                                    ])
                                    .label("Label:  ")
                                    .valueColumn("Col Value")
                                    .textColumn("Col Label")
                                );
                                break;
github hpcc-systems / Visualization / demos / gallery / lib-umd / gallery.js View on Github external
function App() {
            var _this = _super.call(this) || this;
            _this._nav = new other_1.Select();
            _this._selectionStack = [];
            return _this;
        }
        App.prototype.enter = function (domNode, element) {