Translations of this page:

CoreTable

The CoreTable is a in JavaScript implementded table, intended to show database-like content. But the coretable is not connected with any DBMS, it can display any type of data. Like all controls of the CoreAll Framework the datatable and the generic_cachetable are subclasses of app

CoreTable Project Page

Variants of the table

There are 4 Variants of the CoreTable

  • Simple datatable, it just shows the data you passed to the table
  • Editable Table, shows also the data passed to the table, but also lets the user edit them, you as developper can define specific editors for each or define columns to be “read only”. It provides methods to get the changed rows after editing. Saveing the changes in a databese, file or however you wants to reacto on changes by the user is up to you. The table itself does no storage, due to stay as flexible as possible.
  • CacheTable, it is designed to show large ammonts of data, actually it is designed to show these part of a large ammount that is really in the viewing actually. It loads itself the actually needed data using a so called dataProvider. This is an Interface you will have to implement and pass an instance of your implementation to the table. If the chachetable e.g. regognizes that records 20-50 should be shown, but already loaded arre only 0-30 it will call the dataProvider's “getData” method.
  • The combination of an editable table and a cache table.

Detailed Documentation

The Classes context

  • datatable anbgeneric_cachetable are subclasses of app
    • edit_table is a subclass of datatable
    • cachetable and edit_chachetable are subclasses of generic_cachetable
  • vslider is a subclass of app
  • The cachetable uses a datatable and a vslider
  • The edit_cachetable uses a edit_table and a vslider

Note to the Clipboard support

There is the possibility to copy marked rows or the whole table content into the clipboard (e.g. to process the data in a spreadsheet program). If you use Mozilla Firefox as webclient (what we strongly recommend) this feature works only if you set the option signed.applets.codebase_principal_support to true. The default value is false. This setting can be reached by entering about:config in the address bar.

 
en/dev/coretable.txt · Last modified: 01.09.2008 14:08 by kaegi
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki