Re: Reordering columns in the table view for the default Full Web App export

2 views
Skip to first unread message

Mike Kucera

unread,
Mar 18, 2024, 9:39:15 AMMar 18
to cytoscap...@googlegroups.com
Use CyTableViewManager.getTableView(table) to get the table view object.
Then use CyTableView.getColumnViews() to get the column view objects.
Then use View.getVisualProperty(BasicTableVisualLexicon.COLUMN_GRAVITY) and sort the columns by the gravity value to get them in the same order as they appear in the UI.

On Sun, Mar 17, 2024 at 6:14 PM Jason Barker <jhba...@gmail.com> wrote:
Hi,
I am modifying the built in full app export and would like to order the columns in the table are displayed. I tried writing code to modify the setColumnNames function in my controllers file, but that has not worked.

Does anyone have any advice?

Best,
Jason

--
You received this message because you are subscribed to the Google Groups "cytoscape-app-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cytoscape-app-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cytoscape-app-dev/87febea0-6b63-4c76-a87b-770b05279ff5n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages