Skip to content

Skybrud.Umbraco.GridData v3.0.2

Compare
Choose a tag to compare
@abjerner abjerner released this 26 Sep 15:37
· 32 commits to v4/main since this release

New release for Umbraco 8. This release will not work with Umbraco 7.

Installation

Changelog

  • Introduced new IGridElementConverter interface (see 5b08a79)
    The interface and related logic adds a way to get the searchable text for controls that may hold IPublishedElement values - eg. when using DTGE.

  • Added generic support for GridControl and GridEditor (see c77d7cf and 8f28276)
    Backported from the V9 version of this package.

    For editor that has a configuration, the returned type is now GridEditor<TConfig> instead of just GridEditor, which results in the Config property being of type TConfig of IGridEditorConfig. GridEditor<TConfig> extends the GridEditor class, and TConfig must implement the IGridEditorConfig to ensure this doesn't cause any breaking changes.

    In the same way, controls will now be returned as GridControl<TValue> if is has a value - or even GridControl<TValue, TConfig> if the editor of the control also has a configuration. GridControl<TValue, TConfig> extends GridControl<TValue> which extends GridControl, and TValue must implement the IGridControlValue interface.