Hello this is editable, navigatable and submitable table. Click on the table to give it the focus.
The decimal point of numbers in the table is represented by comma ( , ) not period ( . ).
The date time format is 'dd-mm-yyyy hh:nn:ss'
How To Edit and Navigate :
border-color:black; background-color:#c0c0c0; color:#404000; height:150px; width:775px;
overflow:scroll; padding:8px; text-align:justify">
To give focus to table, click on the table. The cell on which we click,
automatically become the active cell. The active cell is the cell in which
we can edit its content. If usually its cell
editor is hidden for that cell, when the cell is active, it reveals its
cell editor, so we can edit it.
Navigation:
We can move the active cell by pressing the arrow
keys on keyboard by intuitive direction. We can also click on a cell,
if we want that cell become active.
Editing:
To edit the cell's content needs some steps which is
different for different cell editor. I will explain for each cell
editor.
- Textbox (element style="font-family: monospace; font-size: 12px;"><TEXTAREA>
or <INPUT
type=text>)
To edit, press Enter. Then we will go into the state, we call it style="font-style: italic;">editing state. In editing state,
the text cursor will appear and thus we can edit the cell's content.
When editing state, the arrow keys cannot be used to navigate but used
to move text cursor instead. To end the editing state, press Enter
again. Another way to go into editing state is by pressing F2 (on
Opera, F2 has the meaning for the browser itself). To end the editing
state, press Esc. Pressing any valid character will also set the JsTable
into editing state automatically (as of version 0.4.5).
We can also double click on a cell (may be triple
click) if we want to edit the cell. But to end the editing state, still
use the keyboard. Clicking on another cell, when the active cell is
edited, will end the editing state of current active cell and move the
active cell to the cell has just been clicked. When on the number column,
you may only press the valid character for a number. So do the date column
and datetime column.
- Checkbox (element style="font-family: monospace; font-size: 12px;"><INPUT
type=checkbox>)
To change the state of the checkbox, press Enter or Space. Clicking on
the cell will also change the checkbox' state.
- Combobox (element style="font-family: monospace; font-size: 12px;"><SELECT>)
To edit, press Enter and then going into editing state. Use up arrow
and down arrow, to change the option. Press enter again, to end the
editing state. Key F2 can also be used but key Esc may not be useful in
all browsers. Esc may reset the option. Another way to change the
option, when in editing state, press Alt+down_arrow, the the combobox
will reveal its option, choose option by pressing down arrow or up
arrow and then press Enter to end the editing state. This way doesn't
run perfectly in all browsers.
If you want to use mouse, do with usual steps: click on the combobox
and choose the option.
- Link
The Link cannot be edited but only execute its link's target. To
execute its target, press Enter or click the Link.
This software is licensed under GNU Lesser General Public License as published by the
Free Software Foundation; either version 2.1 of the License or (at your option) any later version.
See the JsTable's source and the
documentation.
Send the bugs report to almulyana@yahoo.com.
Copyright © 2005 AT Mulyana