Release Information
Features
-
Added support for setting the data source to be an HTML table
- Added support for setting
[is="zing-grid"]
attribute on an HTML table - Added
dataZgFrozenColumn
to columns - Added the following
<zg-param>
names to support datatype rendering:
-[name="tableHide"]
-[name="tableHead"]
-[name="tableDataFormat"]
-[name="tableHeadFormat"]
- Added support for setting
-
Added capability to detect type of static data source based on content
- Added the
<zg-param name="dataType">
param to specify if the static data type is html (table), csv, xml, or json (default) - Added the
<zg-param name="csvCaption">
param to specify that the csv data source first line contains a caption - Added support for static CSV datasource
- Added support for static XML datasource
- Added the
-
Other minor features:
- Added
recordKey
attribute to<zing-grid>
to automatically add the key value as a column - Added
typeNumberDecimals
andtypeNumberMaxDecimals
to currency column type
- AddedtypeNumberMinDecimals
to explicitly set the minimum decimals - Added server side filtering functionality
- Addedfilterkey
attribute on<zg-column>
By default, the filter key will be the field index.
- AddedserverFilter
boolean to<zg-param>
. This andloadByPage
are required to turn on server side filtering - Added ability to set
staticMenu
to a custom context menu without usingcontextMenu
attribute - Added in refresh of column types after
registerCellType
is called - Added new events:
grid:sort
,column:togglevisibility
, andcolumn:move
- Added support for setting the data source to be an HTML table
- Added
headerRowHide
attribute to<zing-grid>
to enable hiding the header row(s)
- Added
Bug Fixes
- Fixed issues with clearing the state
- Fixed state manager and table data bugs
- Fixed issues with table data source
- Fixed table parsing bugs
- Changed decimal behavior in number, currency, and percentage column types to use the Javascript default. Can override with
typeNumberMinDecimals
,typeNumberMaxDecimals
, and/ortypeNumberDecimals
. - Reimplemented
typePercentageDecimals
andtypePercentageMaxDecimals
- Fixed issue with going from custom context menu to built in
- Fixed issue with updating
staticMenu
- Fixed issues with currencyRenderer
- Fixed issues with
recordKey
column type - Fixed default zebra striping to work with
frozenRows
- Fixed bug processing data when the data object has a '.' in the key value. The '.' is used for data path and hierarchical columns. You can set this to another key or disable it by setting the
nesteddataseparator
attribute on<zing-grid>
- Fixed
refreshGrid
bug