Skip to content

Releases: OutSystems/outsystems-datagrid

Release of version 2.10.0 (2022-12-19)

28 Nov 12:16
bbeff57

Choose a tag to compare

What's New:

  • ROU-3934 - Created a new client action RemoveRows to allow us to delete a list of rows from the grid.
  • ROU-3891 - Now, we can choose whether or not the Calculated Columns will have a thousand separators (default: true).
  • ROU-3739 - Now, the new SearchData returns the no results message when the Grid doesn't have results.
    Added a new feature to Grid that allows highlighting the results when they are searched.
  • ROU-3735 - Created a new client action called GetSelectionSum to get the sum of the numeric cells selected in the grid.
  • ROU-3734 - Created a new client action called GetSelectionCount to get the number of selected cells.
  • ROU-3733 - Created a new client action called GetSelectionMax to obtain the max of a cell selection (number, currency, and calculated cells).
    Created a new client action called GetSelectionMin to obtain the min of a cell selection (number, currency, and calculated cells).
  • ROU-3643 - Created a new client action called SetRowAsSelected to set a list of Grid rows as selected. Only rows from the current page can be selected.
  • ROU-3540 - Deprecated the SearchData block and a new Search feature was added as an accelerator, that searches data on the client side, exposing and filtering the results on Grid.
  • ROU-3482 - Created a new client action called GetSelectionAverage to obtain the average of a cell selection (number, currency and calculated cells).

Fixed Issues and Improvements:

  • ROU-3981 - Fixed an issue on the Number columns that were not validating correctly the inputted bounds when the minimum or maximum value was zero.
  • ROU-3968 - Fixed a visual issue on the Grid where the loading message was not appearing in front of it when using freeze columns.
  • ROU-3950 - Fixed an issue that was preventing the OnCellValueChange event from happening when the cell returns to its original value.
  • ROU-3936 - Fixed an issue on the GetChangedLines client action that was not detecting changes when not on the first page.
  • ROU-3891 - Fixed an issue in the Calculated Columns where the decimal places (default: 2) were not correctly set when changed.
  • ROU-3885 - Fixed a minor issue on the Date Columns that was throwing an error on the console when passing a DateTime binding in these columns and then editing the cell. This is a very specific use case that we don't recommend.
  • ROU-3806 - Fixed an issue on the internal getProviderAllSelection method that was not working as expected on some use cases using the Ctrl key.
  • ROU-3772 - Fixed an issue where the dirty mark was not working properly on empty date cells.
  • ROU-3764 - Fixed an issue in the server action Arrange Data that was doing a wrong removal of prefixes on structure attributes.
    Example: If we had a Record List containing a Record that had attributes starting with "ST" or "EN", they were being removed.
  • ROU-3762 - Fixed an issue that caused data not to be assigned properly to the right cells when using the SetCellData action.
    This only happened when there were two (or more) grids with the same biding on the page.
  • ROU-3673 - Improved the performance of the Undo operation after adding rows to the Grid.

Release of version 2.9.0 (2022-08-26)

16 Aug 13:27
43e05d8

Choose a tag to compare

What's New:

  • Created the ToggleRowDragging client action to allow the grid rows to be dragged and reordered.
  • Now, column blocks expose the OnColumnReorder event that is fired after the column has been reordered.
  • Created the GetColumnsOrder client action to return all columns order.
  • Now, there is a new Grid event block called OnColumnPickerChange that listens to the events of hiding/showing columns of a given grid through the ColumnPicker.
  • Added a new output parameter to the AddRows client action to return the row number of the added rows. Like in all other operations using this method, the logic is only applied to the current page view.

Fixed Issues and Improvements:

  • The namespace for OutSystems Data Grid was updated.
    The public API previously used is still available and working, however, a warning is issued so that developers can switch from the old signature to the new one.
  • Fixed an issue that prevented calculated columns with similar names from working correctly.
  • Updated all APIs to use the new response structure.
  • Fixed an issue that caused the dropdown’s column cell change event to return the ID instead of the label.
    This can have a potential impact on the logic that already exists so should be validated before any updates.
  • Fixed an issue that caused the OnInitialize event to trigger incorrectly on Grids in terms of its lifecycle.
  • Fixed an issue that caused GetChangedLines to return two edited rows when only one was added.
  • Fixed an issue when trying to open the ContextMenu in an empty space without rows.
    Now it is also possible to open the ContextMenu when right-clicking an empty message when the Grid has no results to show.
  • Improved performance on some internal methods when adding or validating rows.
  • Fixed SetColumnVisibility that was not working as expected when CanBeHidden and Visible is False.
  • Fixed an issue where we returned row's dataItem as an array instead of an object (e.g. GetSelectedRowsData).
  • Fixed an issue that caused an error when right-clicking the column picker.
  • Fixed an issue with changing column properties in runtime that caused columns with the conditional format to break.
  • Fixed an issue that prevented new rows from being added to a page that already has the maximum amount of rows displayed on the client side.
  • Updated Wijmo's culture resources to version 5.20221.842.

Breaking Changes:

  • This version will cause a soft breaking change since the consumers need to have the references refreshed because of the following changes:
    • OnCellValueChange event has new outputs.
    • AddNewRows client action has a new output parameter.

Release of version 2.8.0 (2022-06-27)

24 Jun 10:31

Choose a tag to compare

  • Fixed an issue that caused the GetRowData client action to return row metadata.
  • Fixed an issue that caused the GetChangedLines client action to return edited lines even though the row contained the original value.
  • Fixed an issue that occurred when the same rowClass was added to multiple columns and prevented the conditional format from working.
  • Added dynamic height parameters to the SetColumnWordWrap client action.
  • Fixed a bug that caused an error when exporting messages from an unnamed Data Grid.
  • Created a new Clear Changes client action.
  • Now, null dates are not shown in cells when JSON Serialize is used.
  • Now it's possible to add a new row on a Server-Side Data Grid when there’s no filter active/applied.
  • Fixed an issue that prevented setting the Data Grid language to English.
  • Now, when content doesn’t fit in the Aggregated Values row, a tooltip with the full content is displayed.
  • Created a new MergeColumnCell client action that allows adjacent cells that have the same value to be merged.
  • Now you can use the AddColumnToGroupPanel API to change the Data Grid’s group panel using a specific list of columns.
  • Created a new SetColumnHeader client action that allows you to set a new header title to a column.
  • Now the Context Menu block has a new OnMenuToggle event that exposes the visibility of the context menu.
  • Created a new SetColumnWordWrap client action that wraps the content of column cells to fit a specific column width.

Release of version 2.7.0 (2022-05-30)

30 May 15:37
bdd8417

Choose a tag to compare

  • Fixed a bug that prevented the Filter by value client action from recognizing empty values.
  • Fixed an issue with the column picker on auto generated grids that prevented the columns from being displayed correctly.
  • Now the Dirty Mark is not shown in a cell unless the value of a blank cell is changed.
  • Fixed an issue that prevented an empty message being displayed on empty grids with JSONSerialize.
  • Now a new row can be added on empty Grids when using JSONSerialized.
  • Fixed an issue that prevented Remove Row from returning all removed rows.
  • Fixed an issue that caused Text columns to behave incorrectly if they received a text with a date format "yyyy-mm-dd".
  • Now, GetChangedLinescorrectly returns all of the newly added rows.
  • Fixed an issue that caused Date columns to be considered as DateTime columns.
  • Updated Wijmo library to version 5.20221.842.
  • Fixed issues with the undo and redo functionality on dropdown columns.
  • Now, the OnCellValueChangeEvent allows the user to have multiple columns with the same binding, calling the correct event.
  • Fixed an issue that prevented decimal places from updating correctly for all browsers.
  • Now it's possible to copy and paste into an entire row without having issues in columns with parent binding.
  • Now it’s possible to control when the SetCellData method triggers the OnCellValueChange event.
  • Fixed an issue with the scientific format on number columns.
  • Fixed an issue with multi sort on a group panel that caused an error on the console.
  • With the updated Wijmo library version 5.20221.842, it is now possible to paste values into columns while respecting the column’s min/max number.

Release of version 2.6.3 (2022-04-04)

23 Mar 21:52
802712c

Choose a tag to compare

  • Fixed an issue when using parent binding columns that happened when we opened the dropdown without changing the selected value.
  • Fixed MarkChangesAsSaved not clearing invalid rows array
  • Added a new client action MarkChangesAsSavedByKey to mark a group of Data Grid rows with given keys (from the KeyBinding field) as saved in the database.
  • Fixed an issue that was causing issues when executing scripts using the Grid Initialize event.
  • Now, we can properly use the ArrangeData action with more complex structures.
  • Added a default exporting message to the Grid and a new API method called CustomizeExportingMessage.
  • Fixed issue where Grid events didn't work properly with screen transitions.

Release of version 2.6.2 (2022-03-07)

17 Mar 11:58
4cd63b8

Choose a tag to compare

  • Now, Data Grid Reactive is called OutSystems Data Grid.
  • Since DataGrid Reactive is an OutSystems supported component, it is locked with the possibility to be cloned.
  • Created the new SetUnsortState client action.
  • Created a new Show Aggregate optional input parameter.
  • Created a new client action called ApplyRowValidations to validate a row when a new one is needed.
  • Now, the Style client actions return an error message and a success boolean.
  • Now, the Data and Validation client actions return an error message and a success boolean.
  • Now, the Sort client actions return an error message and a success boolean.
  • Now, the Selection client actions return an error message and a success boolean.
  • Now, the Filter client actions return an error message and a success boolean.
  • Now, the Column/ColumnFreeze client actions return an error message and a success boolean.
  • Now, the View client actions return an error message and a success boolean.
  • Now, when removing a row and using the GetChangedLines client action, the correct JSON is returned.
  • Now, the GetChangedLines no longer returns null dates when there are multiple dates on the Grid.
  • Now, when using GetCheckedRowsData with MarkChangesAsSaved and Pagination for a second time, an error is no longer triggered.
  • Now, when using icons as text on iOS devices, the on-click event works correctly.
  • Now, the Rows client actions returned an error message and a success boolean.
  • Fixed an issue on the GetRowNumberByKey client action when a row is related to the KeyBinding.
  • Fixed an issue on the Data Grid that caused dates prior to 1900-01-01 to display.
  • Fixed an issue that caused Add Row to throw an error.

Release of version 2.6.1 (2022-01-10)

20 Jan 09:32
2cbc902

Choose a tag to compare

Added functionalities

Added action to allow Filter by Value in column when server-side pagination is ON (RGRIDT-1097)

Fixed issues

Fixed issue with Undo/Redo for deleting rows by context menu not working (RGRIDT-757)

Fixed issue with adding new row or deleting rows not triggering validation for Empty rows panel (RGRIDT-1098)

Fixed issue with checkbox with cell selection on copy is equalizing everything but only copying checked (RGRIDT-1062)

Fixed issue with GetChangedLines that was throwing errors on empty Grid that has multiple entities (RGRIDT-1099)

Fixed issue with Date/DateTime columns throws error when isRequired is set to true (RGRIDT-1115)

Fixed issue where Pagination records were not updating (RGRIDT-1121)

Others

Improved the user experience when using Data Grid in Tablet (RGRIDT-1071)

Release of version 2.6.0 (2021-12-21)

10 Jan 16:06
76759e1

Choose a tag to compare

Added functionalities

  • Addition of RowHeader input parameter on DataGrid (RGRIDT-1036)
  • Addition of RowHeader Checkboxes on DataGrid (RGRIDT-1037, RGRIDT-1038, RGRIDT-1039)
  • Addition of conditional format to Checkbox/Dropdown/Text columns (RGRIDT-1063, RGRIDT-1065, RGRIDT-1079)
  • Addition of new client actions to get checked rows (RGRIDT-1040)
  • Addition of new client action to sort columns (RGRIDT-1066)

Fixed issues

  • Fixed issue where row addition didn’t work with dependent dropdowns (RGRIDT-1051)
  • Fixed issue where conditional format was not applied with null dates (RGRIDT-1056)
  • Fixed a reflected XSS vulnerability. CVSSv3.1 score 5.4 (Medium). (RGRIDT-1092)
  • Fixed issue with AddNewRows and RemoveSelectedRows actions always returning false in output parameter (RGRIDT-1093)

Release of version 2.5.0 (2021-10-04)

04 Oct 14:37
34c9bb3

Choose a tag to compare

Added functionalities

Addition of format optional input parameter to set Date/DateTime format.
Addition of new client actions that filter values from a column.
Addition of new client actions to get/set current page number.
Addition of new client action that sets aggregate function on columns.
Grid now supports server-side sync. Please check our sample page for instructions on how to achieve this.
Addition of hasThousandSeparator input parameter on Number columns.

Fixed issues

Fixed issue with align input parameter on Group column.
Fixed issue where symbol would be lost after changing decimal places on Currency column.

Release of version 2.3.0 (2021-06-30)

30 Jun 12:31
829bf69

Choose a tag to compare

Added functionalities

  • Addition of Calculated Column.
  • Addition of new public client actions for Row and Style.
  • Addition of SetCellData public client action.
    As suggested by @pedromsoares.
  • Addition of new parameter on MarkChangesAsSaved that allows to clean all dirty marks.
  • Addition of a new input parameter on columns that allow setting if the column be hidden in the column picker menu or not.
    Kudos to @rmadeiraneto for providing a solution on github.
  • All exported files can now have a custom name.
  • Dropdown column can now be bound with another dropdown column.

Fixed issues

  • Fixed bug where Selection API was returning wrong values.
  • Fixed bug where grid didn’t render correctly when changing data source.
  • Fixed bug where conditional format was not being applied on exported files.
  • Fixed bug where adding new row wasn’t working properly.