Java-based data table

Spreadsheet display/editing/sorting of data with multiple features
10.1K Downloads
Updated 7 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 (2024). 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
Categories
Find more on Migrate GUIDE Apps in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.3.0.0

fixes for HG2 and a couple of input params edge-cases

1.2.0.0

Multiple fixes; support for image cells, column reordering/resizing, uicontextmenu; full P-V parameters processing

1.0.0.0

fixed several issues; improved help comment