Frontmatter
| id | 4530 |
| title | Columns should support flex |
| state | Closed |
| labels | enhancementstale |
| assignees | [] |
| createdAt | Jul 10, 2023, 1:51 PM |
| updatedAt | Sep 13, 2024, 4:29 AM |
| githubUrl | https://github.com/neomjs/neo/issues/4530 |
| author | Dinkh |
| commentsCount | 3 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Sep 13, 2024, 4:29 AM |
Columns should support flex

tobiu
Jul 10, 2023, 2:10 PM
hi torsten,
flex is already in there:
https://github.com/neomjs/neo/blob/dev/src/table/View.mjs#L154
keep in mind that this implementation is not a real grid, but a table, so our options to flex are a bit limited.
in case you do have ideas how to improve the current behavior, please drop them in here, otherwise we can probably close the ticket.
i am mostly using something like width: '25%' to manually create the sizes in a way i need them.
@github-actions - 2024-08-29T02:27:09Z
This issue is stale because it has been open for 90 days with no activity.
- 2024-08-29T02:27:10Z @github-actions added the
stalelabel
@github-actions - 2024-09-13T02:29:45Z
This issue was closed because it has been inactive for 14 days since being marked as stale.
- 2024-09-13T02:29:46Z @github-actions closed this issue
Currently columns only work with width. When using
flex, either the header or the row does not reflect this.columns: [{ dataField: 'timestamp', flex : 1, text : 'TIME' }]