Translations of this page:

CoreTable: Required Files

Whichever Variant of the CoreTable you want to use some other Files are required.

Path Informations

The path informations are always ment as relative to the File called by the webclient.

So if you have a website [DOMAIN]/products/index.html on which you use the Coretable, so the file stdfuncs.js for example has to be located at [WWW-ROOT]/products/scripts/core/.

Files required for every variant

Alway required are the two Files

  • scripts/core/stdfuncs.js This file contains methods to dynamically load javascript files, it is actually a library containing some often used (general) functions.
  • scripts/core/app.js This is the base class for all with the CoreAll framework developped controls (and so also the table), similar to the class “Object” in Java

These two files have to be included by the convetional method, using the SCRIPT-Tag in Head of the HTML-Document.

<script type='text/javascript' src='scripts/core/app.js'></script>
<script type='text/javascript' src='scripts/core/stdfuncs.js'></script>

Files required by the basic table

  • modules/tools/table.js This file contains the class datatable. The classname “datatable” is chosen to still have the word table “free” in your further programming (so you can still use “table” for variable names etc.)
    • scripts/core/tempater.js This is a templater the table uses to do record-dependent formatting.
    • scripts/core/std_table_builder.js This is used to brin the table into a “printerfrindly” version or a version to copy into the clipboard.
    • modules/tools/table.css This stylesheet defines some general styles to give the table a basic layout.
    • modules/tools/input.js This is used to give the keyboard focus to the table In fact a invisble HTML-INPUT Tag is placed beside the table which listens to the typed keys. So the table will also be part of the tabulator-order of your Website. If the table has the focus it can be controlled via the keyboard (Arrows to move the selected cell, Key-Combinations to Export or Print etc..)
    • modules/tools/input.css Defines some general style for input boxes. In fact they are not used since the focus-holder inputbox is invisible anyway, but “modules/tools/input.js” is actually designt to produce visible input boxes and so it requires this file.

Files required for the editable Table

  • modules/tools/edit_table.js This file defines the edit_table calss itself. It is a subclass of datatable
  • Everything the basic table requires (including modules/tools/edit_table.js).

Files required for the cachetable

  • modules/tools/cachetable.js This file contains the class for a non editable cachtable
  • modules/tools/edit_cachetable Thi file containes the class for an editable cachetable
  • modules/tools/generic_cachetable.js This is a generic cachetable and is required in any case. Cchetable and edit_cachetable are subclasses of the generic_cachetable and an us an instance of datatable or edittable respectively.
    • modules/tools/cachetable.css general style for cached tables, required by generic_cachetable.
    • modules/tools/slider.js This contains th class for the scrollbar right to the actual table, required by generic_cachetable.
    • modules/tools/templates/cachedtable.html A templatefile for cached tables defines e.g. that the scrollbar is right to the actually shown table.
 
en/dev/benoetigte_dateien.txt · Last modified: 07.12.2007 18:11 by kaegi
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki