- fixed problem caused after upgrade to
Angular 19
, when grid without data does not display its columns (initialization order problem)
- fixed
BasicPagingSAComponent
component when in some cases does not render pages - fixed
LoadMorePagingSAComponent
component when in some cases does not render button for loading more pages - fixed
PreviousNextPagingSAComponent
component when in some cases does not render buttons for next previous correctly
- new
DEFAULT_MATRIX_COLUMN_WIDTH
injection token, that is used for injecting default matrix column width - new
provideDefaultMatrixColumnWidth
function, that provides default matrix column width - new
GridDataSADirective
directive, that sets up static data for grid- implements
onChanges
- inputs
data
array of data that are displayed
- implements
- updated
MatrixContentRendererSAComponent
component- now supports excluding of columns for row definition
- now supports rendering multiple grid containers with specifying columns and exclude
- updated
MatrixGridSAComponent
component- now supports multipe
GridContainerTemplateSADirective
- now supports multipe
- updated
HeaderRowContainerTemplateSADirective
directive- new inputs
headerRowContainerTemplateExclude
indication whether list of columns will be excluded, not included in this row
- new inputs
- new
provideDefaultMatrixColumnWidth
function, that provides default matrix column width - updated
ContentRowContainerTemplateSADirective
directive- new inputs
contentRowContainerTemplateExclude
indication whether list of columns will be excluded, not included in this row
- new inputs
- new
provideDefaultMatrixColumnWidth
function, that provides default matrix column width - updated
FooterRowContainerTemplateSADirective
directive- new inputs
footerRowContainerTemplateExclude
indication whether list of columns will be excluded, not included in this row
- new inputs
- updated
GridContainerTemplateSADirective
directive- new inputs
gridContainerTemplate
array of column ids to be rendered in this grid container, if not specified or null all available columns will be renderedgridContainerTemplateExclude
indication whether list of columns will be excluded, not included in this grid container
- new inputs
- updated
GridContext
interface- new properties
gridColumns
all currently available columns metadata for current grid container
- new properties
- updated
MatrixGridModule
module,- now exports also
CssGridTemplateColumnsSAPipe
- now exports also
- updated
MatrixGridMetadata
interface- properties
gridContainer
can now also be an array
- properties
- subpackage
@anglr/grid/material
- new
SelectionStoreDirective
directive, that sets metadata selector storage name- is
standalone
- attributes
selectionStore
name of store to be set up
- is
- new
- fixed
DataLoaderAbstractComponent
not workingautoLoadData
option, which caused data loaders to automaticaly load data even when set tofalse
- all buttons now have
type="button"
- new
GridPluginType
enum, that holds available plugin types- Values
ContentRenderer
content renderer used for rendering content area of gridDataLoader
data loader used for obtaining data for gridGridInitializer
initializer that is used for obtaining stored initialization data for gridMetadataSelector
allows selection of metadata that should be displayedNoDataRenderer
renderer that is used for rendering content when no data are presentOrdering
enables and handles ordering of dataPaging
enables and handles paging of dataRowSelector
handles selection of rows
- Values
- new
TableGridBodyCellTemplateSADirective
directive, that is used for obtaining template for table grid body cell- properties
template
template that is this structural directive used to
- properties
- new
TableGridHeaderCellTemplateSADirective
directive, that is used for obtaining template for table grid header cell- properties
template
template that is this structural directive used to
- properties
- new
GridPluginType
enum, that represents available plugin typesContentRenderer
content renderer used for rendering content area of gridDataLoader
data loader used for obtaining data for gridGridInitializer
initializer that is used for obtaining stored initialization data for gridMetadataSelector
allows selection of metadata that should be displayedNoDataRenderer
renderer that is used for rendering content when no data are presentPaging
enables paging of dataRowSelector
handles selection of rows
- new
Ordering
interface, that is public API for ordering- properties
ordering
current ordering valueorderingChange
occurs when current ordering has changed
- method
orderByColumn
marks column for oderingsetOrdering
sets ordering to ordering plugingetCssClassesForColumn
obtains css classes for column
- properties
- new
OrderingOptions
interface, that represents ordering options allow configuring ordering plugin- properties
indicatorRenderer
type of orderable indicator renderer
- properties
- new
CssClassesOrdering
interface, that represents css classes that are used for ordering- properties
orderable
indication that column is orderablenone
no orderingasc
ordering is ascendingdesc
ordering is descending
- properties
- new
SingleOrderingOptions
interface, that are ordering options for single ordering - new
SingleOrdering
interface, that is public API for single ordering - new
SingleOrderingSAComponent
component, that is component used for single ordering, used for ordering using single column- implements
SingleOrdering
- implements
- new
NoOrderingOptions
interface, that is no ordering options for ordering - new
NoOrdering
interface, that is public API for no ordering - new
NoOrderingSAComponent
component, that is component used for no ordering- implements
NoOrdering
- implements
- new
ORDERING_TYPE
injection token for 'Ordering' implementation - new
ORDERING_OPTIONS
injection token for injecting options for ordering - new
ResolveForwardRefSAPipe
pipe, that resolves forwardRef type into type - new
ReadValueSAPipe
pipe, that reads value from object and returns it, can address nested objects using '.' notation - new
CellTemplateContext
interface, that is context for cell template- propertie
column
object of column metadata itself
- propertie
- new
CellContextFactoryFn
type, that represents factory function signature for obtaining cell context - new
DataCellContextFactoryFn
type, that represents factory function signature for obtaining data cell context - new
CELL_CONTEXT_FN
injection token for obtaining cell context factory function - new
DATA_CELL_CONTEXT_FN
injection token for obtaining data cell context factory function - new
GRID_INSTANCE
injection token for obtaining grid instance inside grid plugins and nested types - new
DEFAULT_OPTIONS
injection token used for injecting default options - new
CONTENT_RENDERER_CURRENT_VIEW_CONTAINER
injection token used for sharing content renderers current view container for rendering into 'container' elements - new
ORDERABLE_CELL
injection token used for obtaining orderable directive from cell - new
cellContextFactory
function, that creates context object for cell in grid - new
dataCellContextFactory
function, that creates context object for data cell in grid - new
CellContextSAPipe
pipe, that obtains cell context for template - new
DataCellContextSAPipe
pipe, that obtains data cell context for template - new
provideCellContextFactoryFn
function, that provides factory function for cell context - new
provideDataCellContextFactoryFn
function, that provides factory function for data cell context - new
OrderableSADirective
directive, that is used for handling ordering of column- inputs
orderable
gets or sets indication whether is column orderable or notorderById
id of column which should be used for order by
- inputs
- new
MatrixGridSAComponent
component, that represents grid component used for rendering grid, configured with special content renderer and metadata gatherer- extends
GridSAComponent
- implements
Grid
MetadataGatherer
AfterContentInit
- extends
- new
RenderableContentComponent
component, that is base class for all renderable content components- implements
OnInit
- implements
- new
GridContainerSAComponent
component, that represents grid container- extends
RenderableContentComponent
- extends
- new
HeaderContainerSAComponent
component, that represents header container- extends
RenderableContentComponent
- extends
- new
ContentContainerSAComponent
component, that represents content container- extends
RenderableContentComponent
- extends
- new
FooterContainerSAComponent
component, that represents footer container- extends
RenderableContentComponent
- extends
- new
HeaderRowContainerSAComponent
component, that represents header row container- extends
RenderableContentComponent
- extends
- new
ContentRowContainerSAComponent
component, that represents content row container- extends
RenderableContentComponent
- extends
- new
FooterRowContainerSAComponent
component, that represents footer row container- extends
RenderableContentComponent
- extends
- new
GridContainerTemplateSADirective
directive, that is used for obtaining template for grid content renderer container- properties
template
obtained template by this directive
- properties
- new
HeaderContainerTemplateSADirective
directive, that is used for obtaining template for grid content renderer header container- properties
template
obtained template by this directive
- properties
- new
ContentContainerTemplateSADirective
directive, that is used for obtaining template for grid content renderer content (body) container- properties
template
obtained template by this directive
- properties
- new
FooterContainerTemplateSADirective
directive, that is used for obtaining template for grid content renderer footer container- properties
template
obtained template by this directive
- properties
- new
HeaderRowContainerTemplateSADirective
directive, that is used for obtaining template for grid content renderer header row container- properties
template
obtained template by this directive
- inputs
headerRowContainerTemplatePredicate
predicate which controls rendering of row template, if not specified row is renderedheaderRowContainerTemplate
array of column ids to be rendered in this row, if not specified or null all available columns will be rendered
- properties
- new
ContentRowContainerTemplateSADirective
directive, that is used for obtaining template for grid content renderer content (body) row container- properties
template
obtained template by this directive
- inputs
contentRowContainerTemplatePredicate
predicate which controls rendering of row template, if not specified row is renderedcontentRowContainerTemplate
array of column ids to be rendered in this row, if not specified or null all available columns will be rendered
- properties
- new
FooterRowContainerTemplateSADirective
directive, that is used for obtaining template for grid content renderer footer row container- properties
template
obtained template by this directive
- inputs
footerRowContainerTemplatePredicate
predicate which controls rendering of row template, if not specified row is renderedfooterRowContainerTemplate
array of column ids to be rendered in this row, if not specified or null all available columns will be rendered
- properties
- new
MatrixGridColumnSADirective
directive, that is used for gathering information about matrix grid column- implements
MatrixGridColumn
- implements
- new
HeaderCellTemplateSADirective
directive, that is used for obtaining template for header cell- properties
template
obtained template by this directive
- properties
- new
ContentCellTemplateSADirective
directive, that is used for obtaining template for content cell- properties
template
obtained template by this directive
- properties
- new
FooterCellTemplateSADirective
directive, that is used for obtaining template for footer cell- properties
template
obtained template by this directive
- properties
- new
CssClassesMatrixContentRenderer
interface, that are css classes for matrix content renderer- extends
CssClassesContentRenderer
- properties
gridContainerClass
css class for grid containerheaderContainerClass
css class for header containercontentContainerClass
css class for content (body) containerfooterContainerClass
css class for footer containerheaderRowContainerClass
css class for header row containerscontentRowContainerClass
css class for content (body) row containersfooterRowContainerClass
css class for footer row containers
- extends
- new
MatrixContentRendererOptions
interface, that are matrix content renderer options- extends
ContentRendererOptions
- properties
defaults
type used for creating component containing default templates
- extends
- new
MatrixContentRenderer
interface, that is public API for matrix content renderer- extends
ContentRenderer
- extends
- new
MatrixGridMetadata
interface, that is matrix grid metadata, contains templates for each rendered element- extends
TableGridMetadata
- properties
gridContainer
template for grid container, with metadataheaderContainer
template for grid header, with metadatacontentContainer
template for grid content (body), with metadatafooterContainer
template for grid footer, with metadataheaderRowContainer
templates for header rows, with metadatacontentRowContainer
templates for content rows (each data row can be rendered as multiple rows), with metadatafooterRowContainer
templates for footer rows, with metadata
- extends
- new
MatrixContentRendererSAComponent
component, that is used for rendering content using new 'matrix' metadata gatherer- implements
MatrixContentRenderer
GridPlugin
OnDestroy
- implements
- new
CurrentViewContainer
interface, that is type that allows storing and sharing view container of 'container' element- properties
viewContainer
view container that is used for rendering content of 'container' element
- properties
- new
GridContext
interface, that represents context that is available in content renderer top levels, outside of data scope- properties
grid
instance of grid itselfplugins
instance of grid pluginsdata
all data that are currently renderedcolumns
all currently rendered columns metadatacontentCssClasses
css classes used for rendering content
- properties
- new
GridRowContext
interface, that represents context that is available in content renderer at row level (any type of row)- extends
GridContext
- properties
index
index of rendered low in current pagerowColumns
all currently rendered columns metadata
- extends
- new
GridDataRowContext
interface, that represents context that is available in content renderer at row level (content data rows only)- extends
GridRowContext
- properties
datum
instance of datum for current rowstartingIndex
starting index of currently displayed itemsrowIndex
row index of displayed itemisSelected
indication whether is row item selected
- extends
- new
GridCellContext
interface, that represents context that is available in content renderer at cell level (any type of cell)- extends
GridRowContext
- properties
metadata
metadata for current cell (column)isSelected
indication whether is row item selected
- extends
- new
GridDataCellContext
interface, that represents context that is available in content renderer at cell level (content data cells only)- extends
GridDataRowContext
- properties
metadata
metadata for current cell (column)
- extends
- new
MatrixGridColumn
interface, that represents matrix grid column definition- extends
GridColumn
- properties
width
width as style string including units, not used in renderer, but can be used by user later for automationheaderTemplate
template that is used for rendering of cell in header rowbodyTemplate
template that is used for rendering of cell in content (body) rowfooterTemplate
template that is used for rendering of cell in footer row
- extends
- new
MatrixContentRendererDefautTemplates
interface, that are default templates for matrix content renderer- properties
gridContainer
default template for grid containerheaderContainer
default template for grid headercontentContainer
default template for grid content (body)footerContainer
default template for grid footerheaderRowContainer
default templates for header rowscontentRowContainer
default templates for content rows (each data row can be rendered as multiple rows)footerRowContainer
default templates for footer rows
- properties
- new
BaseDefaultTemplatesSAComponent
component, that represents base component that stores default templates for content renderig- implements
MatrixContentRendererDefautTemplates
- implements
- new
CssGridDefaultTemplatesSAComponent
component, that represents component that stores default templates for css grid content renderig- extends
BaseDefaultTemplatesSAComponent
- implements
MatrixContentRendererDefautTemplates
- extends
- new
TableDefaultTemplatesSAComponent
component, that represents component that stores default templates for table content renderig- extends
BaseDefaultTemplatesSAComponent
- implements
MatrixContentRendererDefautTemplates
- extends
- new
NoRowSelectorOptions
interface, that is no row selector options- extends
RowSelectorOptions
- extends
- new
NoRowSelector
interface, that is public API for no row selector- extends
RowSelector
- extends
- new
NoRowSelectorSAComponent
component, that is component used for handling no row selection- implements
NoRowSelector
GridPlugin
- implements
- new
GridOrderableCell
interface, that represents class used for storing orderable directive instance- properties
orderable
instance of orderable directive
- properties
- new
rowColumnsAttribute
function, that transforms row columns attribute value into row columns value - new
CssGridTemplateColumnsSAPipe
pipe, that creates css value for 'grid-template-columns' property - new
OrderableIndicatorRenderer
interface, that represents definition of renderer that should render orderable indicator- methods
create
creates indicator htmldestroy
destroys indicator htmlapply
applies css classes to orderable indicator
- methods
- new
DefaultOrderableIndicatorRenderer
class, that is default implementation of orderable indicator renderer- implements
OrderableIndicatorRenderer
- implements
- new
UseTableSADirective
directive, that configures MatrixContentRenderer to use TableDefaultTemplates - new
MatrixGridModule
module for matrix grid components and directives - new
GridPluginInstancesDef
class, that is implementation of GridPluginInstances - new
InfinityNaNSAPipe
pipe, that transforms NaN value into inifinity symbol - new
AttachPlugins
interface, that is definition of plugin instances that can be attached to grid- properties
contentRenderer
instance of content renderer plugindataLoader
instance of data loader plugingridInitializer
instance of grid initializer pluginmetadataSelector
instance of metadata selector pluginnoDataRenderer
instance of no data renderer pluginordering
instance of ordering pluginpaging
instance of paging pluginrowSelector
instance of row selector plugin
- properties
- new
AttachPluginsSADirective
directive, that is used for attaching external plugins to grid- implements
OnChanges
- inputs
attachPlugins
object storing external pluginsautoInitialize
automatically initialize grid after new instances are setforceReinitialization
indication whether perform force reinitialization
- implements
- new
ShowMetadataSelectorForSADirective
directive, that shows metadata selector on click for provided grid- inputs
showMetadataSelectorFor
grid which metadata selector will be displayed
- inputs
- new
VerticalDragNDropSelectionOptions
interface, that represents options for vertical drag n drop selection- properties
dragDisabled
indication whether is drag disabled
- properties
- new
provideGridOptions
function, that provides grid options - new
providePagingType
function, that provides paging type - new
provideOrderingType
function, that provides ordering type - new
provideGridInitializerType
function, that provides grid initializer type - new
provideDataLoaderType
function, that provides data loader type - new
provideContentRendererType
function, that provides content renderer type - new
provideMetadataSelectorType
function, that provides metadata selector type - new
provideNoDataRendererType
function, that provides no data renderer type - new
provideRowSelectorType
function, that provides row selector type - new
provideContentRendererOptions
function, that provides content renderer options - new
provideDataLoaderOptions
function, that provides data loader options - new
provideGridInitializerOptions
function, that provides grid initializer options - new
provideMetadataSelectorOptions
function, that provides metadata selector options - new
provideNoDataRendererOptions
function, that provides no data renderer options - new
providePagingOptions
function, that provides paging options - new
provideOrderingOptions
function, that provides ordering options - new
provideRowSelectorOptions
function, that provides row selector options - updated
DialogMetadataSelectorComponentData
interface- new methods
resetMetadata
resets metadata to default
- new methods
- updated
MetadataSelector
interface- new methods
resetMetadata
resets metadata to default
- new methods
- updated
TableGridColumnSAComponent
component- now supports also obtaining template using directives
TableGridBodyCellTemplateSADirective
,TableGridHeaderCellTemplateSADirective
- now supports also obtaining template using directives
- updated
Grid
interface- new properties
pluginsOptionsInitialized
occurs everytime when plugins options initialization changes, if value is false plugins options were not initialized yet, or are being reinitialized
- new properties
- updated
GridSAComponent
component- updated implementation to correspond with new interface
- updated
BodyContentRendererOptions
interface- new properties
rowClick
callback allows handle click on the rowrowCssClass
callback called for each row with data for row returning css class, that will be applied to row element
- new properties
- updated
DataLoaderOptions
interface- new properties
accumulateData
indication whether accumulate data with next paging result
- new properties
- updated
GridPluginInstances
interface- new properties
contentRenderer
instance of content renderer that renders obtained datadataLoader
instance of data loader that is used for obtaining data that will be displayedgridInitializer
instance of grid initializer that is used for obtaining stored grid datametadataSelector
instance of metadata selector used for gathering and manipulation with metadatanoDataRenderer
instance of no data renderer used for rendering information that there are no data currentlyordering
instance of ordering used for applying ordering to datapaging
instance of paging used for applying paging to datarowSelector
instance of row selector used for handling row selection
- new properties
- updated
DialogMetadataSelectorOptions
interface- new properties
dialogCompnentOptions
options for dialog component
- new properties
- updated
DialogMetadataSelectorComponentData
interface- new properties
options
options for dialog component
- new properties
- subpackage
@anglr/grid/extensions
- new
getSelectedIds
function, that gets currently selected ids - new
invalidateContent
function, that invalidates content renderer view, redraws content - new
isSelectedAnyOnPage
function, that gets indication whether is selected any row on current page - new
areSelectedAllOnPageLimited
function, that gets indication whether are all currently displayed items on page selected or not, works with DataResponse DataLoader - new
patchPluginsOptions
function, that is used to patch plugins options only - new
reinitialize
function, that reinitializes grid - updated
reinitializeOptions
, new signatures supportingforce
parameter
- new
- minimal supported version of
node.js
is18
- minimal supported version of
@angular
is17.0.1
- minimal supported version of
@angular
material is17.0.0
- minimal supported version of
@jscrpt/common
is5.0.0
- minimal supported version of
@anglr/common
is19.0.0
- minimal supported version of
@rxjs
is7.5.7
- minimal supported version of
tslib
is2.6.2
- completely refatored styles
- no longer depends on
scrollmagic
- removed
@anglr/grid/scrollmagic
subpackage, it was not used, can be implemented using pure css - dropped support of
NodeJs
lower than18.13
- all
any
generic defaults changed tounknown
or extended type - all components, directives, pipes are now standalone
- strict null checks and types
- renamed
GatheredMetadata
toGridMetadata
- renamed
BasicTableColumn
toTableGridColumn
- renamed
BasicTableMetadata
toTableGridMetadata
- renamed
BasicTableMetadataGathererComponent
toTableGridMetadataGathererSAComponent
- renamed
BasicTableColumnComponent
toTableGridColumnSAComponent
- renamed
BasicTableColumnContext
toDataCellTemplateContext
and changed to interface and extended withrowSelected
inidication - renamed
GridComponent
toGridSAComponent
- renamed
SimpleNoDataRendererComponent
toSimpleNoDataRendererSAComponent
- renamed
BasicRowSelectorComponent
toBasicRowSelectorSAComponent
- renamed
LimitedRowSelectorComponent
toLimitedRowSelectorSAComponent
- renamed
NoMetadataSelectorComponent
toNoMetadataSelectorSAComponent
- renamed
NoGridInitializerComponent
toNoGridInitializerSAComponent
- renamed
QueryGridInitializerComponent
toQueryGridInitializerSAComponent
- renamed
SyncDataLoaderComponent
toSyncDataLoaderSAComponent
- renamed
AsyncDataLoaderComponent
toAsyncDataLoaderSAComponent
- renamed
NoPagingComponent
toNoPagingSAComponent
- renamed
BasicPagingComponent
toBasicPagingSAComponent
- renamed
LoadMorePagingComponent
toLoadMorePagingSAComponent
- renamed
PreviousNextPagingComponent
toPreviousNextPagingSAComponent
- renamed
PageVirtualScrollPagingComponent
toPageVirtualScrollPagingSAComponent
- renamed
ContentVirtualScrollPagingComponent
toContentVirtualScrollPagingSAComponent
- renamed
TableContentRendererComponent
toTableContentRendererSAComponent
- renamed
AdvancedTableBodyContentRendererComponent
toAdvancedTableBodyContentRendererSAComponent
- renamed
TableBodyContentRendererComponent
toTableBodyContentRendererSAComponent
- renamed
CssDivsContentRendererComponent
toCssDivsContentRendererSAComponent
- renamed
CssDivsBodyContentRendererComponent
toCssDivsBodyContentRendererSAComponent
- renamed
CssDivsHeaderContentRendererComponent
toCssDivsHeaderContentRendererSAComponent
- renamed
TableHeaderContentRendererComponent
toTableHeaderContentRendererSAComponent
- renamed
QueryPermanentStorageGridInitializerComponent
toQueryPermanentStorageGridInitializerSAComponent
- removed
GridPluginGeneric
, nowGridPlugin
is generic with default value - removed
AdvancedTableBodyContentRendererSAComponent
component, now standardTableBodyContentRendererSAComponent
has same functionality - removed
AdvancedTableBodyContentRendererOptions
interface, now standardTableBodyContentRendererOptions
has same functionality - removed
AdvancedTableBodyContentRenderer
interface, now standardBodyContentRenderer
has same functionality - removed
BasicOrderableColumn
interface - removed
VirtualScrollPagingAbstractComponent
component, not used, old implementation - removed
PageVirtualScrollPagingSAComponent
component, not used, old implementation - removed
ContentVirtualScrollPagingSAComponent
component, not used, old implementation - removed
CdkVirtualScrollPagingComponent
component, not used, old implementation - removed
VirtualScrollTableContentRendererComponent
component, not used, based on old renderer - removed
VirtualScrollTableHeaderContentRendererComponent
component, not used, based on old renderer - removed
VirtualScrollTableBodyContentRendererComponent
component, not used, based on old renderer - removed
VirtualScrollPaging
interface, not used, old implementation - removed
VirtualScrollPagingOptions
interface, not used, old implementation - removed
CssClassesVirtualScrollPaging
interface, not used, old implementation - removed
PageVirtualScrollPaging
interface, not used, old implementation - removed
PageVirtualScrollPagingOptions
interface, not used, old implementation - removed
ContentVirtualScrollPaging
interface, not used, old implementation - removed
ContentVirtualScrollPagingOptions
interface, not used, old implementation - removed
CdkVirtualScrollPaging
interface, not used, old implementation - removed
CdkVirtualScrollPagingOptions
interface, not used, old implementation - removed
CssClassesCdkVirtualScrollPaging
interface, not used, old implementation - removed
VirtualScrollTableHeaderContentRenderer
interface, not used, based on old renderer - removed
VirtualScrollTableHeaderContentRendererOptions
interface, not used, based on old renderer - removed
CssClassesVirtualScrollTableHeaderContentRenderer
interface, not used, based on old renderer - removed
VirtualScrollTableBodyContentRenderer
interface, not used, based on old renderer - removed
VirtualScrollTableBodyContentRendererOptions
interface, not used, based on old renderer - removed
VirtualScrollTableContentRenderer
interface, not used, based on old renderer - removed
VirtualScrollTableContentRendererOptions
interface, not used, based on old renderer - removed
CssClassesVirtualScrollTableContentRenderer
interface, not used, based on old renderer - removed
AdvancedMetadataSelectorComponent
component, not used, no replacement - removed
CssClassesAdvancedMetadataSelector
interface, not used, no replacement - removed
AdvancedMetadataSelectorTexts
interface, not used, no replacement - removed
AdvancedMetadataSelectorOptions
interface, not used, no replacement - removed
AdvancedMetadataSelector
interface, not used, no replacement - removed
AdvancedGridColumn
interface, not used, no replacement - removed
DialogMetadataSelectorContentComponent
interface, not needed - removed
PagingPosition
enum, not used, if you need to place paging above grid, just place it outside and use instance - old
ContentRendererOptions
renamed toHeaderBodyContentRendererOptions
- new
ContentRendererOptions
withoutplugins
- removed grouped table definition, use new syntax to achieve grouped header columns
- removed
HeaderTableGroupColumn
interface - removed
HeaderTableGroup
interface - removed
GroupedTableMetadata
interface - removed
HeaderTableGroupContext
class - removed
GroupedTableMetadataGathererComponent
component - removed
HeaderTableGroupComponent
component - removed
HeaderTableGroupColumnComponent
component - removed
GroupedTableHeaderContentRendererComponent
component - removed
GroupedGridModule
module
- removed
- removed all plugin identifier contants, use
GridPluginType
enum instead - ordering was completely refactored and moved into new plugin, removed from content renderer
- updated
Grid
interface- no longer implements
Invalidatable
, no use for this method does nothing initialize
has newforce
parameter
- no longer implements
- updated
GridPlugin
interfaceinitialize
has newforce
parameter
- updated
GridOptions
interface- removed
pagingPosition
property
- removed
- updated
Paging
interface- now using signals for
page
anditemsPerPage
- now setting
page
anditemsPerPage
using functions - removed totalCount, paging obtains totalCount from
DataLoader
- now using signals for
- updated
MetadataGatherer
interface, now using signals - updated
MetadataSelector
interface, now using signals - updated
CssClassesBasicPaging
interface, completely refactored, incompatible with previous one - updated
CssClassesPreviousNextPaging
interface, completely refactored, incompatible with previous one - updated
CssClassesLoadMorePaging
interface, completely refactored, incompatible with previous one - updated
CssClassesSimpleNoDataRenderer
interface, completely refactored, incompatible with previous one - updated
CssClassesVerticalDragNDropSelection
interface, completely refactored, incompatible with previous one - updated
CssClassesDialogMetadataSelector
interface, completely refactored, incompatible with previous one - updated all paging plugins to correspond with new
Paging
interface - updated all plugins to be in line with new
GridPlugin
interface - subpackage
@anglr/grid/extensions
- updated
setOrdering
function, is now async function and no longer refresh data - updated
setPage
function, is now async function and no longer refresh data
- updated
- subpackage
@anglr/grid/material
- renamed
VerticalDragNDropSelectionComponent
toVerticalDragNDropSelectionSAComponent
- renamed
DialogMetadataSelectorComponent
toDialogMetadataSelectorSAComponent
- renamed
- fixed typings for metadata selectors, now correctly generic type extends
GatheredMetadata
also for material subpackage
- fixed typings for metadata selectors, now correctly generic type extends
GatheredMetadata
- fixed check for changes in async loader
- fixed typings, not using rolled up typings for now
- minimal supported version of Angular is
13.1.0
- minimal supported version of
@jscrpt/common
is2.2.0
- minimal supported version of
@anglr/common
is10.0.0
- compiled as Angular IVY only with new APF
- removed support of es5 target and using latest package.json features
- removed dependency
@anglr/types
, all mising types used directly here - dropped support of
Node.js <= 12.20
TableHeaderContentRendererComponent
andGroupedTableHeaderContentRendererComponent
now supports fallback forundefined
title, now using column title
serializeSimpleOrdering
anddeserializeSimpleOrdering
are now using uri decoding/encoding
LoadMorePagingComponent
fixed static load more button text
HeaderContentRendererAbstractComponent
fixed initial setup of ordering css classes when using stored ordering
QueryPermanentStorageGridInitializerComponent
now usingPermanentStorage
to store state instead ofCookieService
DialogMetadataSelectorComponent
now usingPermanentStorage
to store state instead ofCookieService
- all generic types are now optional, all defaults to
any
- moved logic from
PagingInitializer
toGridInitializer
- from
NoPagingInitializerComponent
toNoGridInitializerComponent
- from
QueryPagingInitializerComponent
toQueryGridInitializerComponent
- from
QueryCookiePagingInitializerComponent
toQueryCookieGridInitializerComponent
- from
- removed deprecated
PagingInitializer
plugin - renamend
QueryCookieGridInitializerComponent
toQueryPermanentStorageGridInitializerComponent
- renamend
QueryCookieGridInitializerOptions
toQueryPermanentStorageGridInitializerOptions
DialogMetadataSelectorOptions
propertycookieName
renamed tostorageName
QueryPermanentStorageGridInitializerOptions
propertycookieIppName
renamed tostorageIppName
- now depends on
@anglr/common
7.3.0 version minimum
- fixed
NoGridInitializerComponent
which now using existingPagingInitializer
to be backward compatible until next major version
- added new
CssDivsContentRendererComponent
asContentRenderer
plugin (using css grid) - added new
CssDivsHeaderContentRendererComponent
asHeaderContentRenderer
plugin (using css grid) - added new
CssDivsBodyContentRendererComponent
asBodyContentRenderer
plugin (using css grid) - deprecated
PagingInitializer
plugin, use newGridInitializer
(in next major versionPagingInitializer
will be removed) - added new
GridInitializer
plugin allowing obtaining obtaining and storing state of grid to external storage - for now
GridInitializer
is internally usingPagingInitializer
(in next major version this logic will be moved directly intoGridInitializer
) - all built-in
Paging
plugins are usingGridInitializer
, customPaging
plugins should do same GridInitializer
has same functionality asPagingInitializer
extended with storing of ordering- added new
NoGridInitializerComponent
asGridInitializer
plugin that does nothing - added new
QueryGridInitializerComponent
asGridInitializer
plugin that is using query string for storing data - added new
QueryCookieGridInitializerComponent
asGridInitializer
plugin that extendsQueryGridInitializerComponent
and allows to store items per page also in cookie - added
serializeSimpleOrdering
,deserializeSimpleOrdering
helper functions for transformation ofSimpleOrdering
to and out ofstring
- added new
LimitedRowSelectorComponent
asRowSelector
plugin that allows limitation of selected rows - added
applyRowSelectionBlock
helper function that applies block of change event to checkbox inputs - method
resetMetadata
ofHeaderContentRenderer
now have optional parameterforce
indicating whether forcibly reset metadata - added extension method
setOrdering
which allows setting ordering from code
- fixed
BasicRowSelectorComponent
selectItem
method, now correctly changes state of selected row
- added
CssClassesContentRenderer
forContentRenderer
that allows to use css class on content renderer - updated to latest stable Angular 9
- added generating of API doc
- added extension method
patchOptions
which patches options without running initialization of grid, only initialize options
- extension method
areSelectedAllOnPage
extended with optional parameterpredicate
which allows conditionally return info whether selected all
- extension method
selectAllOnPage
extended with optional parameterpredicate
which allows conditionally select all
GridComponent
now renders without wrapper div around plugins- subpackage
@anglr/grid/material
- added new
VirtualScrollTableContentRendererModule
that allows usage of VirtualScrollContentRenderer (experimental, needs optimalization) - added new
VirtualScrollTableContentRendererComponent
asContentRenderer
plugin (using angular cdk virtual scroll) - added new
VirtualScrollTableHeaderContentRendererComponent
asHeaderContentRenderer
plugin (using angular cdk virtual scroll) - added new
VirtualScrollTableBodyContentRendererComponent
asBodyContentRenderer
plugin (using angular cdk virtual scroll)
- added new
- refactored
DataLoader
, now holds information about its state and emits event when this state changes- state
DataLoaderState
has 5 values
- state
NoDataRenderer
now using these new states ofDataLoader
and displays more detail info about state
- added missing title with tooltip for
TableHeaderContentRendererComponent
andGroupedTableHeaderContentRendererComponent
- subpackage
@anglr/grid/material
- fixed compilation error
- subpackage
@anglr/grid/material
- fix
DialogMetadataSelectorComponent
export now correctly exported as stated - added missing import
MatDialogModule
toDialogMetadataSelectorModule
VerticalDragNDropSelectionComponent
- added padding to component
- added icon for dragging
- fix
- created subpackage
@anglr/grid/material
containing all@angular/material
dependent code- added new
DialogMetadataSelectorComponent
asMetadataSelector
plugin (using angular material dialog) - added new
VerticalDragNDropSelectionComponent
that is used as default content ofDialogMetadataSelectorComponent
- added new
- created subpackage
@anglr/grid/extensions
containing allextensions
methods (moved sources to this folder)- added new extension method
showMetadataSelector
allowing to display metadata selector
- added new extension method
- added method
show
toMetadataSelector
- removed
TextsLocator
plugin and everything about it, replaced with@anglr/common
StringLocalization
- fixed
BasicPagingComponent
,PreviousNextPagingComponent
initialization
- Angular IVY ready (APF compliant package)
- added support for ES2015 compilation
- Angular 8
- removed deprecated
LegacyGrid
and all its parts - now if you want to use Grouped Headers you have to also use new
GroupedGridModule
- now if you want to use Css Grid (grid composed of divs with css, not table) you have to also use new
CssDivsModule
- moved functionality from
@anglr/grid-extensions
to subproject@anglr/grid/scrollmagic
- added support for Grouped Headers, allowing multiline header with grouping of columns
- added new
MetadataGatherer
=>GroupedTableMetadataGathererComponent
for obtaining information about header groups (using<grouped-table-metadata>
html) - added new
HeaderTableGroupColumnComponent
andHeaderTableGroupComponent
allowing definition of header groups (using<table-group>
,<table-group-column>
html) - added new
GroupedTableHeaderContentRendererComponent
used for rendering grouped headers - supporting only one level of grouped headers and each column must be part of group for now
- added new
- refactored
PaginingInitializer
, now used asGridPlugin
, instead of Paging plugin
- added new extension method
invalidateBodyContent
, used for invalidating body content
- added new method
setGridPluginInstances
intoGridComponent
- added new extension method
refreshDataToDefaultPage
- added new
PagingInitializer
with support of query and cookie for items per pageQueryCookiePagingInitializerComponent
@anglr/grid
is now marked as sideEffects free- stabilized for angular v6
- aktualizácia balíčkov
Angular
na6
- aktualizácia
Webpack
na verziu4
- aktualizácia
rxjs
na verziu6
- added isArray check into
setSyncData
- added
initText
option toNoDataRenederer
that is displayed when grid is not initialized - updated
PreviousNextPagingComponent
andBasicPagingComponent
, now renders only if grid is initialized
- refactored
MetadataGatherer
, now allows easier extending, returning object instead of array
- changed
ValueProvider
toFactoryProvider
forGridComponent
s providerGRID_PLUGIN_INSTANCES
value provider did not correctly created new instance for every grid - fixed import paths in extensions moved to package root
- changed path for importing extensions from
@anglr/grid/dist/extensions
to@anglr/grid/extensions
- updated
initOptions
method, now correctly initialize options even if only options and no type has changed - updated all plugins constructors all
GridPluginInstances
are madeOptional
in constructors
- reverted changes in
NoPagingInitializerComponent
- added default options into
NoPagingComponent
and removed fromPagingAbstractComponent
- added
setSyncData
extension into index
- bug fix in
SyncDataLoader
whenitemsPerPage
is set to NaN - added new extension for grid
setSyncData
- all plugin components added to
exports
ofGridModule
, so can be instantiated outside of grid, allowing custom positioning of visual components
- set default css class
table-container
forTableContentRendererComponent
wrapping div
- added generated documentation, added few samples, updated
@internal
flags - added
ContentVirtualScrollPagingComponent
as paging for grid, that allows loading data when content of grid is scrolled passing treshold - added
PageVirtualScrollPagingComponent
as paging for grid, that allows loading data when page is scrolled passing treshold - changed
TableContentRendererComponent
, now renders wrapping<div>
around<table>
- added
LoadMorePagingComponent
as paging for new grid allowing click to load more content - added
PreviousNextPagingComponent
as paging for new grid allowing change pages using next, previous buttons
- added
initOptions
method toGrid
- added
invalidateVisuals
method toGrid
- changed way how is grid initialized, more consistent behavior, ctor => setOptions => initOptions => createPlugins => setPluginOptions => initPluginOptions => initialize => initializePlugins, same works for nested plugins
- added extension method for reinitialization of grid options
reinitializeOptions
- all
GridPlugin
extended with methodinitOptions
, to be more consistent with grid and plugins lifecycle
- updated
PagingAbstractComponent
andBasicPagingComponent
, allprivate
members changed toprotected
- updated
Grid.initialized
, now itsObservable<boolean>
and returns true if is grid initialized otherwise false
- added new feature for
Grid
,EventEmitter
that is called every time grid is initialized calledinitialized
- fixed
QueryPagingInitializerComponent
now correctly sets query string
- changed
QueryPagingInitializerComponent
, now usingreplaceState
- added new feature for paging
PagingInitializer
- added two implementation of
PagingInitializer
:QueryPagingInitializerComponent
,NoPagingInitializerComponent
- added index.ts for extensions for easier import using
import {} from '@anglr/grid/dist/extesions'
- added new extensions for grid
areSelectedAllOnPage
,getSelectedData
,isSelectedAny
,resetSelection
,selectAllOnPage
- fixed missing z-index for advanced metadata selector
- added title tooltips for selected columns in advanced metadata selector
- changed method signature
selectItem
, now second parameter isselect
instead ofdeselect
and defaults totrue
SimplenoDataRendererComponent
displayed text centered
- added new tool that correctly updates components to use external html
- added missing external html
- added new
GridComponent
- added new
GridModule
- added new metadata gatherer
BasicTableMetadataGatherer
- added grid extensions
refreshData
,getPage
,setPage
,refreshDataToDefaults
- added
TextsLocator
plugin,NoTextsLocator
- added
RowSelector
plugin,BasicRowSelector
- added
Paging
plugins,NoPaging
,BasicPaging
- added
NoDataRenderer
plugin,SimpleNoDataRenderer
- added
MetadataSelector
plugins,NoMetadataSelector
,AdvancedMetadataSelector
- added
DataLoader
plugins,SyncDataLoader
,AsyncDataLoader
- added
ContentRenderer
plugins,TableContentRenderer
,TableBodyContentRenderer
,TableHeaderContentRenderer
,AdvancedTableBodyContentRenderer
,CssDivsContentRenderer
,CssDivsBodyContentRenderer
,CssDivsHeaderContentRenderer
- old grid renamed to
ng-legacy-grid
,GridLegacyComponent
- old column component renamed to
ng-legacy-column
,ColumnLegacyComponent
- old column group component renamed to
ng-legacy-columnGroup
,ColumnGroupLegacyComponent
- old basic paging renamed to
basic-legacy-paging
,BasicPagingLegacyComponent
- old basic paging renamed to
load-more-legacy-paging
,LoadMorePagingLegacyComponent
- old basic paging renamed to
PagingAbstractLegacyComponent
- old basic paging renamed to
next-previous-legacy-paging
,PreviousNextPagingLegacyComponent
- all classes used by Legacy grid are deprecated, will be removed in version 6
- fixed displaying of column selection for Google Chrome
- fixed displaying of column selection for Google Chrome
- returned typescript version back to 2.4.2 and removed distJit
- added compiled outputs for Angular JIT
- updated angular to 5.0.0 (final)
- changed dependencies of project to peerDependencies
- more strict compilation
- updated usage of rxjs, now using operators
- updated angular to >=5.0.0-rc.7
- fixed properly setting of initial page to paging
- added new method
uninitialize
forPagingAbstractComponent
- changed private methods accessed from template to public
PreviousNextPagingComponent
has been added
- added
PagingAbstractComponent
base class for paging components PagingComponent
renamed toBasicPagingComponent
BasicPagingComponent
is now set to OnPush change detectionBasicPagingComponent
has new selector'basic-paging'
- grid now supports dynamic change of paging component using new
GridOptions
GridOptions
addedpagingOptions
andpagingType
LoadMorePagingComponent
has been added
- grid added option for disabling automatic data loading on init
- grid change detection is set to OnPush
- added method for explicit change detection run
invalidateVisuals()
- angular 4.0.0
- stabilized version for AOT and SSR
- angular 4.0.0-rc.5
- cookieService that can be used with SSR
- changes from 2.2.6
- tree shaking enabled (es2015 module)
- angular 4.0.0-rc.2
- all members accessed from templates are now public
- making module angular AOT compliant
- angular 4.0.0-beta.7
- renamed selectors ng2-grid, ng2-column to ng-grid and ng-column
- fix support to set 'no data found message'
- fix support to set 'no data found message' (hack)
- added support to set 'no data found message' (either with default or with custom template)
- fixed grid paging binding bug (page changed after it was checked)
- updated support for minimal and maximal visible columns
- added support for minimal and maximal visible columns
- angular version 2.3.0
- fixed problem with template rendering for column, different template after event
- merge with version 2.0.3
- angular version 2.2.0
- added option for column selection title
- template column header
- possibility to disable column visibility selection
- row selection
- possibility to use grid without id
- header tooltip
- fix column selection
- angular version 2.0.1
- UMD module
- webpack usage
- typescript 2 usage
- angular version 2.0.0
- angular version 2.0.0-rc.6
- added
GridModule
- angular version 2.0.0-rc.5
- items count correct displaying
- all items now has active class when clicked
- items count not displayed if all items displayed
- support for item row number in custom template
- support for storing items per page in cookies
- paging now allows displaying displayedItems/totalCount
- angular version 2.0.0-rc.4
- column template support
- ordering support
- paging support
- column selection
- column width
- header css class
- cell css class
- columng groups (simple)
- debounced data loading
- css class for whole table div