image thumbnail

Java-based data table

version 1.3.0.0 (40.2 KB) by Yair Altman
Spreadsheet display/editing/sorting of data with multiple features

10K Downloads

Updated 07 Jan 2015

View License

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 (2021). Java-based data table (https://www.mathworks.com/matlabcentral/fileexchange/14225-java-based-data-table), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!