Skip to content

Commit 1d002ab

Browse files
committed
test message
1 parent 3157f13 commit 1d002ab

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

docs/api/table-methods.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -347,21 +347,3 @@ interface ColumnConfig {
347347
minLen?: number;
348348
}
349349
```
350-
351-
## Performance Tips
352-
353-
1. **Batch Operations:** Use `addRows()` instead of multiple `addRow()` calls for better performance
354-
2. **Column Pre-definition:** Define columns in constructor when possible
355-
3. **Method Chaining:** Chain methods to reduce variable assignments
356-
4. **Render vs Print:** Use `render()` when you need the string output for further processing
357-
5. **Memory Management:** For large datasets, consider filtering data before adding to table
358-
359-
## Error Handling
360-
361-
Methods handle various error scenarios:
362-
363-
1. **Invalid Row Data:** Validates row object structure
364-
2. **Missing Column Names:** Throws error for undefined columns
365-
3. **Invalid Options:** Falls back to defaults for invalid options
366-
4. **Empty Data:** Handles empty arrays and objects gracefully
367-
5. **Type Mismatches:** Converts data types when possible

0 commit comments

Comments
 (0)