Java-based data table
createTable creates a 2D java-based table that enables display, editing and sorting of 1D and 2D data using familiar look-and-feel. Columns can be resized and sorted; data can be selected, printed, copied, pasted etc., including to/from Excel; Rows can be added/deleted; Columns can have different alignments (right/center/left) and editors (checkbox/drop-down/...); Callback functions can be specified for multiple events (Data change, structure change, mouse click, ...) and multiple other aspects can be set programatically (see extensive help within the m file).
Works on Matlab 7.1 onward
Installation: unzip attached file; place the jar file in classpath.txt or use javaaddpath; then run the createTable m-function.
Syntax: [mtable, buttons] = createTable (pnContainer, headers, data, buttonsFlag, 'PropName',PropValue, ...)
See detailed help within the file (run: help createTable)
Cite As
Yair Altman (2024). Java-based data table (https://www.mathworks.com/matlabcentral/fileexchange/14225-java-based-data-table), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: olduitable, Data Logging GUI Manager, propertiesGUI - display data in editable context-aware table, treeTable - create a sortable table control with collapsible row groups
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.