Giter Site home page Giter Site logo

adam-dupaski / checkboxsetselector Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mendix/checkboxsetselector

0.0 1.0 0.0 1007 KB

This widget lets you use a list of checkboxes for your Reference Set, plain and simple.

Home Page: https://appstore.home.mendix.com/link/app/121/Mendix/Checkbox-set-selector-(Table)

License: Apache License 2.0

HTML 0.99% JavaScript 98.49% CSS 0.51%

checkboxsetselector's Introduction

CheckboxSetSelector

This widget lets you use a list of checkboxes for your Reference Set, plain and simple.

Description

This widget lets you use a list of checkboxes for your Reference Set, plain and simple. It supports multiple display attributes and looks the same as the Reference Set Selector.

Contributing

For more information on contributing to this repository visit Contributing to a GitHub repository!

Typical usage scenario

Quickly setting/adjusting a reference set, without having to go through popups and buttons. Showing multiple attributes of the objects for the Reference Set.

Features and limitations

  • Show multiple display attributes.
  • Show display attributes over 1-deep association
  • Does not support dynamic sorting by clicking on the headers
  • On change microflow only receives context object.
  • No paging.

Configuration

Insert the widget into your dataview and set the properties.

Properties

Checkbox Set Selector

  • Appearance
    • Use headers: Boolean to enable/disable the headers.
    • Checkbox column width value: The value of the width.
    • Checkbox column width unit: The unit of the width this could be pixels, percentages or any other typographic width unit in the list. Be sure to test in serveral browsers.
  • Display attributes
    • Width: The width of the column for this display attribute in pixels or percentage.
    • Currency type: This lets you display the attribute as a currency. Leave on none if not applicable.
    • Group separators: Boolean to use group separators if displayed as currency.
    • Header text: The text used for the header of the column. Required but only shown if 'Use headers' is set to true.
    • Attribute: The attribute that is to be shown.
  • Behavior
    • On change: The microflow to call after a checkbox is clicked. The microflow only receives the context object.
    • Listen source: The channel to broadcast the clicked object on. This can then be received by the Form Loader on the same channel, which will load the form with the object.
    • Begin empty: The listen will automatically fill the form loader with the first object retrieved. Set this to true to disable this and have the formloader start off empty. Add 'Select All' checkbox: If true, a checkbox will be added in the header row to check or uncheck all (default true)
  • Data source
    • Association: The reference set association, starting from the dataview object.
    • Sort attribute: The attribute to sort the list on
    • Sort order: The order the list should be sorted in.
    • XPath Constraint: An XPath constraint on the possible objects that are shown. Do note that a reference set can contain objects not shown because of this constraint if set elsewhere.
    • Limit: A limit to the number of objects shown to prevent the widget from becoming too large. Leave on 0 for unlimited.

Checkbox Set Selector (Microflow)

This widget is similar to the normal Checkbox Set Selector, but it uses a microflow to retrieve the events.

  • Data source
    • Data source microflow: The microflow that received the Dataview object and should return a list of objects that match with the entity selected for the 'Association'.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.