Releases: programcsharp/griddly
Releases · programcsharp/griddly
3.1.0
3.0.7
Empty Grid Message
Added support for empty grid messages. Includes the following additional properties:
DefaultEmptyGridMessageTemplate
EmptyGridMessageTemplate
DefaultEmptyGridMessage
EmptyGridMessage
Bootstrap 4 Support
Add support for Bootstrap 4.
Defaults can be configured using GriddlySettings.ConfigureBootstrap4Defaults()
Breaking Changes
- GriddlySettings.DefaultButtonClassName now conveys all the classes applied to buttons (rather then additional classes). The default value is now "btn btn-default" instead of null.
Allow templating filter button
2.8 Allow templating filter button
Enhance cookies
- Raise some fields from result method to GriddlyContext
- Add sorts to cookie
- Make defaults work without filter attribute
- Don't cookie the root
- Add show default on filter that goes back to the default filter/sort
Polish up parameters and add cookie option
POTENTIAL BREAKING
Theoretically this should still "work", however, the following is needed for full functionality with permalink and cookies:
GlobalFilters.Filters.Add(new GriddlyParameterAttribute());
ValueProviderFactories.Factories.Add(new GriddlyCookieFilterValueProviderFactory());
If you don't want cookies, don't add the GriddlyCookieFilterValueProviderFactory
.
The GriddlyParameterAttribute
is still needed to make parameters work correctly. If the attribute isn't there, permalinks and defaults won't work right.
FEATURES:
- Defaults and Parameters are split vs. combined so that permalinks and cookies can set the current values but the original defaults be retained so a user can reset back
- Permalinks work, so a /index?foo=bar will properly be passed through to indexgrid. For a page with multiple, it will set the values on all of 'em
- Default argument values now work correctly for defaults and can be used instead of SetGriddlyDefault for primitives
- Session cookies are set on each render with the current filter. If using the GriddlyCookieFilterValueProviderFactory, this will set the parameters from that.
- Option to turn off history support
Break out filter bar
- Make a separate GriddlyFilterBar that can be used without an actual Griddly
- Add group option on filter
Client tweaks
- Add client side additional request values
- Add selection changed event
- Add singular/plural tags inside selection display
Rendering enhancements
- Add AfterButtonsTemplate
- Allow rendering button list only
- Reset none's on removing filter values in form mode