Releases: programcsharp/griddly
Releases · programcsharp/griddly
Dapper command timeout
Allow dapper results to specify timeout interval.
[Breaking] Move BeforeTemplate before before
Remove c#7 syntax for releasing Version 2.2
Flexible OverallCount, Deterministic sorting
Flexible OverallCount, Deterministic sorting
Enhancements
- QueryableResult constructor accepts a final sort to apply after all other sorts. Will automatically add a final sort on the "Id" field if exists on data class and none specified in constructor
- Support OverallCount via dapper data source with an OverallCount field
- Avoid extra count query when no results returned (count implicitly is zero)
Breaking changes
- Added finalSortField parameter to QueryableResult.ApplySortFields()
Bugfix
Nested buttons should render ArgumentTemplate if available
Mobile friendly filtering
Use modal + inline display for form filter mode
Other stuff:
- Don't fire rowclicks on cells with data-toggle=dropdown in them
- Use currency symbol for filter values instead of $
- Don't run setFilterMode logic if we're already in that mode
- Template footer summary
- Allow html in column caption
Breaking:
- Default initial filter mode is now Form
- BeforeRender/BeforeRenderThis renamed to OnBeforeRender/BeforeRender
- BeforeRender now executes on all grid renders instead of just the first one, with new bool param of whether it is first render
QOL's
- Show sorted SimpleGriddly column icons even if they are not sortable
- Add RowClickTarget. ht @nickdevore
Fix for refresh bug
Fix for refresh failure when response starts with a tag other than <tbody>
.
Pass model to BeforeRender
This is a breaking change.
Tweak exports
(also 1.8.5)
- Use actual currency symbol in exports
- Allow turning off currency symbol in exports
- Include time in dates if it's not explicitly a date only format
Filter form reset fixes
Any of these might be breaking. I don't think they are, but they might be.
- Don't treat filter form items without name attribute as filters. This is to keep from resetting bootstrap-multiselect checkboxes
- Render Griddly default string using enums for string values because that's what we do everywhere else.
- Don't fire DOM reset event on form reset button click because jQuery is picking that up and calling reset again after we've already reset and set defaults -- which kills our defaults.