File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments