NEW FEATURE: Frozen Columns
Now, you can freeze, or fix, columns to both sides of your grid. See the documentation for more information. Demo.
BREAKING CHANGES:
The following attributes have been renamed:
<zg-column draggable>
is now<zg-column drag>
<zing-grid draggable>
is now<zing-grid column-drag>
get/setDraggable()
are nowget/setColumnDrag()
<zing-grid drag-action>
is now<zing-grid column-drag-action>
get/setDragAction()
are nowget/setColumnDragAction()
<zg-column color-mode>
is now<zg-column type-color-mode>
<zg-column color-preview>
is now<zg-column type-color-preview>
Features
- Added
[frozen]
attribute to<zg-column>
- Enabled dragging columns between frozen and main. Demo
- Added
zg-column
attribute[filter-index]
to indicate the index that should be searched on a column filter - Added
setFrozenColumnsRight()
- Added
setFrozenColumnsLeft()
- Added
getFrozenColumnsRight()
- Added
getFrozenColumnsLeft()
- Added ability for Grid to respond to being made visible after being hidden. The grid will automatically update its size parameters
- Added in
<zg-frozen-colgroup>
selector to style frozen column mask when this occurs. - Added
data:record:openinsert
event handler - Added CSS variables for frozen column elements:
--zing-grid-freeze-style-border
and--zing-grid-freeze-style-box-shadow
- Added a type definition file
Bug Fixes
- Fixed issues with footer and frozen column interactions
- Fixed issues with footer and reordering columns
- Fixed issues with footer and vertical gridlines
- Fixed bugs with draggable columns
- Fixed bugs with focus
- Fixed bug with tooltip
- Fixed pixel errors
- Fixed issues with hierarchical headers and frozen columns
- Fixed issue with resizing into card mode
- Fixed issues with grid padding on resize
- Fixed scrolling event handler
- Fixed bug with sorting styles