datadavev / DwC_views

Implements viewers for Darwin Core record repositories
1 stars 0 forks source link

DwC JQuery Client - Records Table "Click" Functions #35

Closed coreyo closed 13 years ago

coreyo commented 13 years ago

We want support for 2 different native click functions:

  1. Clicking on an entire row
    • the default action should be to display a single record view of the record being displayed in this row
    • the default action should be overridable (option to change what happens when you click on a row by passing a different function)
    • ability to turn this feature off completely
    • proper styling to go with it
  2. Clicking on a single value (this should have the ability to enhance or override the row click)
    • this function should be turned off by default
    • ability to specify a function on a per-field basis
    • value-click functions should have the ability to override the row-click, or add to it (i.e. return true/false to pass through the click event to the row)
    • proper styling to go with it