Git Product home page Git Product logo

report's Introduction

Report Specification

  • Setting columns:
    • You can use the names of the columns, or a sort object
    • If no columns are set, then all possible columns are shown
      • If there are no columns to show, the report should still draw
  • Setting the sort:
    • You can use the names of the columns, or an array [field, direction]
    • If no sort is set, then order by columns
  • When sorting:
    • Single click sets a new sort
      • If the first sort column is single clicked, it will change sort direction
    • Ctrl click to change the sort order, or add additional sort levels
  • When editing:
    • Double click to edit a cell
    • Doouble clicking a new cell will save the current changes
    • all changes are committed at the end of editing, and then the report will resort
    • Enter key submits, committing changes
    • Escape key cancels, restoring the value before the edit
    • If the editor loses focus, the edit is submitted
  • When selecting:
    • Single click to select a row
      • Other rows will be deselected
    • Ctrl click on a row to toggle selection
  • Search shows all rows that have a partial match to the search query

Known Issues

  • Searching will show hidden fields (_selected)
  • Ctrl click does not work on Mac
  • Ctrl click does not work on Mobile

Definitions

Design Decisions

  • Use single click to set, and Ctrl to modify

report's People

Contributors

skiric avatar

Watchers

 avatar

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.