Releases: programcsharp/griddly
Add html attribute support
Add HtmlAttributes configuration settings:
- root, table, column header get static dictionaries
- settings.Column method takes an object that can be either an MVC style anonymous object or a dictionary
- rows and cells get templates
Fixes
- Disable griddly early init so events fire
- Generalize selected row display
History support tweaks
- Handle isNoneAll=true dropdowns with a [None] item in them for setFilterValue
- Add support for global default setting before griddly.js loaded
No breaking changes.
Add history support for all griddly settings
History support for modern browsers that support history API. Any changes done to a grid will reload on navigation back to the grid from another page. No additional history entries are created, and no persistent history is created.
Selection isn't currently saved, but that functionality may be added in a subsequent revision.
No breaking changes.
If you are not including griddly.css, add the following to your custom griddly css to hide the Griddly on navigation until it can be reset and reloaded:
.griddly-init-flag[value=loaded] + .griddly.griddly-init {
display: none;
}Reorganize Result Classes
Breaking Changes
GriddlyResultis now abstract. UseQueryableResultinstead.- Removed
DapperGriddlyResult. UseDapperSql2012Resultor inheritDapperResultinstead.
Add more helpers
- Filter helpers for settings, for filter form vs. inline on column
- AppendIdsToUrl as a button param
Actually added the filters to settings in 1.1.8 vs 1.1.7.
Gracefully handle invalid enum values
1.1.6 Gracefully handle invalid value enums.
Allow overriding SetGriddlyDefault
Pass in parameter value, only null or default params are overridden.
1.1.4 - Add support for arrays in route values
For both Url.Current and Html.Griddly.
Patch 1.1.2
Added HeaderTemplate/DefaultHeaderTemplate.