Skip to content

Releases: programcsharp/griddly

3.2.8

01 Oct 13:03
Compare
Choose a tag to compare

BREAKING:

  • GriddlySettings.BoolTrueHtml renamed to DefaultBoolTrueHtml
  • GriddlySettings.BoolFalseHtml renamed to DefaultBoolFalseHtml
  • GriddlySettings.Css becomes GriddlySettings.DefaultCss (defaults to GriddlyCss.Bootstrap3Defaults)
  • GriddlySettings.IsBootstrap4 moved to GriddlySettings.DefaultCss

3.2.0

10 Feb 18:41
Compare
Choose a tag to compare
  • If a griddly is deep linked, don't save cookies for filters. This way embedded ones don't override the normal default filters for grids that are also used directly
  • Add pagesizechanged.griddly client event

3.1.0

01 Nov 14:47
Compare
Choose a tag to compare

BREAKING: Pass ControllerContext to HandleCustomExport

3.0.7

30 Oct 15:27
Compare
Choose a tag to compare
  • Upgrade System.Web.Mvc to 5.2.6
  • Fix #96

Empty Grid Message

22 Oct 15:33
Compare
Choose a tag to compare

Added support for empty grid messages. Includes the following additional properties:

DefaultEmptyGridMessageTemplate
EmptyGridMessageTemplate
DefaultEmptyGridMessage
EmptyGridMessage

Bootstrap 4 Support

08 Oct 19:36
Compare
Choose a tag to compare

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

19 Sep 16:38
Compare
Choose a tag to compare
2.8

Allow templating filter button

Enhance cookies

19 Sep 16:19
Compare
Choose a tag to compare
  • 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

16 Sep 03:40
Compare
Choose a tag to compare

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

01 Jul 16:01
Compare
Choose a tag to compare
  • Make a separate GriddlyFilterBar that can be used without an actual Griddly
  • Add group option on filter