Releases: neomjs/neo
Grid & Table Annotations
selection.grid.RowModel
: manual selections will update record annotations if applicableselection.table.RowModel
: manual selections will update record annotations if applicablemoveNode
deltas now act smarter for direct swap OPs- main.addon.AmCharts: loadFiles() => preventing an infinite promises loop in case the lib path & fallback path both fail
Grid & Table Column Header Drag & Drop
grid.header.Toolbar
now uses the same DD concept astab.header.Toolbar
table.header.Toolbar
now uses the same DD concept astab.header.Toolbar
(this one was rough, more polishing needed)main.DomAccess
: removed the non proxy based DD logic- a quite huge amount of other changes in various files
Video showing the new grid DD:
https://www.youtube.com/watch?v=skNY_zGo0zE
Code changes in 1 commit: 99ff937
Online demos:
https://neomjs.com/examples/grid/container/index.html
https://neomjs.com/examples/table/container/index.html
Table Selection Models
- All table SMs are now completely decoupled from DOM based cell or row focus
- The
tbody
node is now the only focus receiver (we could change this, in case we want focus based navigation without selecting) - Grid & Table SMs are in sync again
- ComboBox now fires a change event, when the value is null & forceSelection is enabled
- Fixed the Table Filtering example: #6298
- Fixed a glitch inside the table.container example: #6324
- Neo.Main.getByPath() can now also trigger window based methods: #6314
Code changes in 1 commit: d1954eb
housekeeping
- Fixed a regression issue which broke the positioning for cells inside locked table columns
- Better positioning for button glyphs
Grid Selection Models
All Grid related selection models now have basic navigation support.
Videos inside the tickets.
- CellModel: #6300
- ColumnModel: #6302
- CellColumnModel: #6305
- CellRowModel: #6306
- CellColumnRowModel : #6307
Table selection models got moved from table.Container
into table.View
.
Using the config on a container is deprecated
, but will continue to work until Neo v9.
Just switch from {selectionModel: CellModel}
to {viewConfig: {selectionModel: CellModel}}
All spots inside the neo examples are already adjusted.
This change finally removes the need for selection models to increase the updateDepth
: #6309
Online demo for the grid: https://neomjs.com/examples/grid/container/
Online demo for the table: https://neomjs.com/examples/table/container/
The selection models look best using the dark theme and the new light theme is not finished yet.
housekeeping
- component.Base: added Β΄async waitForDomRect()Β΄
- dialog.Base: fixed an edge case, where drag, hide, re-show lead to a broken show() animation
Smarter theme inheritance for run-time changes
examples.grid.nestedRecordFields
Getting the Grid
closer to feature parity with the Table
implementation.
Online Demo Grid:
https://neomjs.com/examples/grid/nestedRecordFields/
Online Demo Table:
https://neomjs.com/examples/table/nestedRecordFields/
data.RecordFactory: re-added support for data.Model based record default values
data.RecordFactory: optionally tracking modified record fields
To activate the optional feature, you need to set trackModifiedFields: true
inside your related data.Model
Example of modifying a record inside your console:
Inside your tables, you can now use:
viewConfig: {
highlightModifiedCells: true
}
Online demo:
https://neomjs.com/examples/table/nestedRecordFields/