Release Information
Features
-
-
ZingGrid now has the ability to include aggregate columns by setting
[type="aggregation"]
. Will aggregate any number columns in each row or can limit the columns by setting the[index]
attribute.
-
Fully customize the aggregate column by setting
[typeAggregateValue]
to a custom renderer
-
Combine aggregate columns with aggregate rows to display "Grand Total"
-
-
Other minor features:
- Added
[typeUrlTarget]
which takes the options from HTML target attribute. Added smarter detection of formatting for aggregate cells - Added
data:afterfetch
event which is called after data is received from the server, but before it is processed. - Added
ZGButton[action="selectAll"]
- Added
zgRef.selectAll()
API method - Added
zgRef.deselect()
API method - Added
zgRef.getSortedColumn()
API method - Added text to draggable columns for internal column types
- Added
--zg-head-cell-inner-padding
css variable - Added CSS parts for all subcomponent shadow DOMs for easier CSS styling
- Added
selectall
button icon
- Added
Bug Fixes
- Fixed bug with hierarchical header display when using header attribute
- Fixed positioning of column resize handler
- Fixed column resizing with
[dir="rtl"]
attribute - Fixed copy functionality
- Fixed issues with dynamically changing a
<zg-button>
action attribute - Fixed issues with dynamically changing a
<zg-text>
value attribute - Fixed fullscreen display
- Fixed display issues with
[pageSizeCard]
- Fixed scrolling bug between row and card mode
- Fixed draggable column bugs
- Fixed issues with draggable columns within mobile
- Fixed issues with removing data after load
- Allowed
ZGParam[name="recordPath"]
to work with static data - Fixed bugs with setting proper default editor mode based on layout
- Fixed alignment of filter components
- Fixed keyboard navigation issues
- Fixed keyboard navigation with
[dir="rtl"]
- Fixed gridline display issue
- Updated custom callback code to callback functions even if defined after
<zing-grid>
- Updated saving record issues with using custom columns and
editrecord
buttons - Fixed problem with scroll to load functionality
- Fixed keyboard navigation issues
- Fixed header on aggregate column changes
- Fixed the dynamic updating of
[typeAggregateOmit]
- Fixed keyboard navigations issues including focus lost and inability to access areas
- Fixed refresh issues with
[footCell]
and[headCell]
aggregations - Fixed bug with
[footCell]
fields not updating on grid data changes - Fixed bug with changing caption text
- Fixed a bug with tooltips and scrolling
- Fixed a bug with
[cellClass]
and[colClass]
in card mode - Fixed a bug with
<zg-load-mask>
displaying properly - Fixed bugs with modifying custom card renderers or templates after loading
- Modified the position of the context menu if it is on the right of the screen
- Fixed display issues with the
[footCell]
- Fixed issues with date sorting
- Fixed keyboard navigation issues
- Fixed bug with
postload
change in[filterer]
attribute - Fixed mouse selection visual bug
- Fixed bug with refreshing after
page-size
change - Fixed bugs with touch features in mobile
- Fixed display issue with headers in card mode
- Fixed bugs with column width calculations
- Fixed bugs with dynamic updating of color column attributes
- Also fixed issues with template, colgroup, and renderer
- Added
rowgroup
option to state management to preserve the opened groups on reload - Fixed issues with
[serverRendered]
grids and row grouping - Fixed button alignment in row grouping and frozen columns
- Enabled
rowNumber
feature to work properly with row grouping