Tables
Create and edit tables in ArchDoc
Tables
Tables are great for organizing structured data in your documents.
Creating a Table
Using the Toolbar
- Click the Table button in the toolbar
- Select Insert Table from the dropdown
- A 3x3 table with headers is inserted
- Click cells to edit content
Table Structure
Tables consist of:
- Header Row: First row, typically bold
- Body Rows: Data rows below the header
- Cells: Individual data containers
Editing Tables
Adding Rows
Add Row Above:
- Click in a cell
- Open the Table dropdown
- Select Add Row Before
Add Row Below:
- Click in a cell
- Open the Table dropdown
- Select Add Row After
Adding Columns
Add Column Left:
- Click in a cell
- Open the Table dropdown
- Select Add Column Before
Add Column Right:
- Click in a cell
- Open the Table dropdown
- Select Add Column After
Deleting Rows/Columns
- Click in the row/column to delete
- Open the Table dropdown
- Select Delete Row or Delete Column
Deleting the Entire Table
- Click anywhere in the table
- Open the Table dropdown
- Select Delete Table
Example Tables
Feature Comparison
| Feature | Free | Base | Premium |
|---|---|---|---|
| Team Members | 2 | 5 | 50 |
| Documents | 5 | 15 | Unlimited |
| GitHub Integration | ❌ | ✅ | ✅ |
| Priority Support | ❌ | ❌ | ✅ |
API Endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/documents | List all documents |
| POST | /api/documents | Create new document |
| GET | /api/documents/:id | Get document by ID |
| PUT | /api/documents/:id | Update document |
| DELETE | /api/documents/:id | Delete document |
Status Codes
| Code | Status | Meaning |
|---|---|---|
| 200 | OK | Request successful |
| 201 | Created | Resource created |
| 400 | Bad Request | Invalid input |
| 401 | Unauthorized | Authentication required |
| 404 | Not Found | Resource doesn't exist |
| 500 | Internal Error | Server error |
Decision Matrix
| Option | Complexity | Cost | Time | Score |
|---|---|---|---|---|
| Option A | Low | High | Fast | 7/10 |
| Option B | Medium | Medium | Medium | 8/10 |
| Option C | High | Low | Slow | 6/10 |
Keyboard Navigation
Navigate tables efficiently:
| Key | Action |
|---|---|
Tab | Move to next cell |
Shift + Tab | Move to previous cell |
| Arrow keys | Move between cells |
Enter | Move to cell below |
Formatting in Cells
Cells support rich formatting:
- Bold and italic text
Inline code- Links
- Emojis ✅ ❌ ⚠️
Best Practices
Use Tables for Structured Data
Good uses:
- Comparing options
- API documentation
- Configuration options
- Feature lists
Keep Tables Simple
- Avoid very wide tables (hard to read)
- Limit columns to what's necessary
- Break large tables into smaller ones
Use Clear Headers
- Make headers descriptive
- Use consistent formatting
- Consider abbreviations for long headers
Align Content Appropriately
- Text: Left-aligned (default)
- Numbers: Right-aligned
- Status/Boolean: Center-aligned
Don't Overuse Tables
- Paragraphs work better for explanations
- Lists may be simpler for some data
- Tables are best for comparisons
Accessibility
For accessible tables:
- Use headers: First row should be a header
- Clear labels: Column headers explain content
- Logical order: Data flows left-to-right, top-to-bottom
- Avoid merging: Keep cells simple when possible
Limitations
Current limitations:
- No cell merging
- No fixed column widths
- No nested tables
- Limited cell formatting
Tables are resizable - drag column borders to adjust widths.