Title: Improve row-wise access · Issue #21 · scijava/scijava-table · GitHub
Open Graph Title: Improve row-wise access · Issue #21 · scijava/scijava-table
X Title: Improve row-wise access · Issue #21 · scijava/scijava-table
Description: See also: https://github.com/juglab/scijava-table-playground mobie/mobie-viewer-fiji#65 (comment) @ctrueden Edit: migrated from imagej/imagej-common#26: I believed the Table API (e.g., for Results tables) was pretty thorough, but when tr...
Open Graph Description: See also: https://github.com/juglab/scijava-table-playground mobie/mobie-viewer-fiji#65 (comment) @ctrueden Edit: migrated from imagej/imagej-common#26: I believed the Table API (e.g., for Results ...
X Description: See also: https://github.com/juglab/scijava-table-playground mobie/mobie-viewer-fiji#65 (comment) @ctrueden Edit: migrated from imagej/imagej-common#26: I believed the Table API (e.g., for Results ...
Opengraph URL: https://github.com/scijava/scijava-table/issues/21
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Improve row-wise access","articleBody":"See also:\r\n\r\n* https://github.com/juglab/scijava-table-playground\r\n* https://github.com/mobie/mobie-viewer-fiji/issues/65#issuecomment-746296505\r\n\r\n---------------------\r\n@ctrueden Edit: migrated from imagej/imagej-common#26:\r\n\r\nI believed the `Table` API (e.g., for Results tables) was pretty thorough, but when trying to use it to implement a new [IJ2 List Shortcuts command](ticket:1645), I discovered that there are no `appendRow` methods. These would be a nice convenience, rather than having to explicitly call `set(String colHeader, int row, Object value)` for each cell of the row.\r\n\r\nActually, there are `appendRow` methods, but none that take the actual row data. So the current `ListShortcuts` implementation does:\r\n\r\n``` java\r\nshortcuts.appendRow();\r\nshortcuts.set(hotKeyHeader, row, shortcut.toString());\r\nshortcuts.set(commandHeader, row, info.getTitle());\r\n```\r\n\r\nWhen what would be nicer would be:\r\n\r\n``` java\r\nshortcuts.appendRow(shortcut.toString(), info.getTitle());\r\n```\r\n\r\nOf course, while this is more succinct, it also loses the column-safety, assuming columns are in a particular order.\r\n\r\nMigrated-From: http://trac.imagej.net/ticket/1646\r\n","author":{"url":"https://github.com/imagejan","@type":"Person","name":"imagejan"},"datePublished":"2020-12-17T21:27:31.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/21/scijava-table/issues/21"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b9d5dacf-ee1c-7a61-1351-7a059fdac2f1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D028:2B5D8C:2342197:2DECCC4:6974B6B2 |
| html-safe-nonce | 2e2acd0626f4a947b151520abf19e172607e7dacc6ae6e51968ca5a11305a220 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDI4OjJCNUQ4QzoyMzQyMTk3OjJERUNDQzQ6Njk3NEI2QjIiLCJ2aXNpdG9yX2lkIjoiOTEzNzE4MDI1MjY3NTgxNTA5MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 38c1c8ed472c99e7494969ae21cf02f741e7454c945b8259ef61045377377dd3 |
| hovercard-subject-tag | issue:770380484 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/scijava/scijava-table/21/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b784a92b7d73bca180ec9490c7a16840281970a1a71954ae585dc14013de0e66/scijava/scijava-table/issues/21 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b784a92b7d73bca180ec9490c7a16840281970a1a71954ae585dc14013de0e66/scijava/scijava-table/issues/21 |
| og:image:alt | See also: https://github.com/juglab/scijava-table-playground mobie/mobie-viewer-fiji#65 (comment) @ctrueden Edit: migrated from imagej/imagej-common#26: I believed the Table API (e.g., for Results ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | imagejan |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f |
| turbo-cache-control | no-preview |
| go-import | github.com/scijava/scijava-table git https://github.com/scijava/scijava-table.git |
| octolytics-dimension-user_id | 1262770 |
| octolytics-dimension-user_login | scijava |
| octolytics-dimension-repository_id | 136337458 |
| octolytics-dimension-repository_nwo | scijava/scijava-table |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 136337458 |
| octolytics-dimension-repository_network_root_nwo | scijava/scijava-table |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 488b30e96dfd057fbbe44c6665ccbc030b729dde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width