Skip to content

Releases: OutSystems/outsystems-datagrid

ODC Release of version 2.11.0 (2023-07-04)

30 Jun 00:02
c314d64
Compare
Choose a tag to compare
  • First release of OutSystems Data Grid on ODC.

Release of version 2.11.0 (2023-04-26)

08 Apr 17:28
5b039ac
Compare
Choose a tag to compare

What's New:

  • ROU-4181 - Now, the ActionColumn block has support for two element types - Links and Buttons.
  • ROU-4186 - Now, is possible to use the new OnCellClick block to handle cell click events in the Data Grid.

Fixed Issues and Improvements:

  • ROU-3808 - Now, in order to have consistency in internal error handling we normalized the OutSystems DataGrid APIs.
  • ROU-4077 / RPM-3210 - Improved the accessibility on the Grid by changing the default navigation behaviour. Now, It's possible to use the arrow keys to navigate between cells and the Tab key to navigate in and out of the Grid.
  • ROU-4150 - Fixed an issue that caused the column’s header tooltip to display the wrong content.
    This occurred when the HeaderTooltip parameter and the Column Name were the same.
    Now, it's possible to add a custom header tooltip by adding the container Id that contains the custom content to the HeaderTooltip parameter.
    For more information, please refer to the OutSystems Data Grid Sample page.
  • ROU-4152 / RPM-2941 - Fixed an issue that caused the client action MarkChangesAsSavedByKey to return a row not found error. This occurred when the key binding was a text column where the values had blank spaces.
  • ROU-4200 / RPM-3859 - Fixed an issue that caused the Grid to show an error tooltip when the cell value was valid. This occurred when a cell value was invalid and then changed to a valid value.
  • ROU-4205 / RPM-3824 - Fixed an issue that caused Data Grid to perform the undo action in the wrong data.
    This occurred when a server-side search was performed, then the provided DataSource was updated and the Data Grid no longer had access to the data that was filtered. In this way, the Data Grid loses reference to the previous data and the undo action is performed on the wrong data.
    Now, for server-side search, the undo stack is cleared after the data source update.
  • ROU-4207 - Fixed an issue that caused all the tooltips to be displayed with a red background when the cells were not invalid.
    This occurred when an invalid cell was edited to a valid value, then all the other tooltips were displayed as error tooltips (with a red background).
  • ROU-4230 - Fixed an issue where Data Grid cells wouldn't exit editing mode when the Escape key was pressed once.
    This occurred if the Escape key was pressed before the user finished editing the cell.
    There’s a known issue that occurs when the Escape key is pressed twice under the same circumstances.

Release of version 2.10.1 (2023-03-01)

13 Feb 15:55
49a2906
Compare
Choose a tag to compare

Fixed Issues and Improvements:

  • ROU-4109 - Fixed an issue that caused the FilterByCondition API not to filter correctly the DataGrid.This occurred when filtering cells that had Date or DateTime type values.
  • ROU-4065 - Fixed an issue that resulted in data returned from the Selection client actions not considering the rows that were selected via the API or checkboxes in the final returned data.Now, when selecting rows via the SetRowAsSelected client action or via the Row Header checkboxes, those row’s cells will also be considered for other Selection client actions.
  • ROU-4049/RPM-3556 - Improved the description of MinValue, MaxValue and DecimalPlaces parameters of the NumberColumn.Fixed an issue that caused the MinValue and MaxValue parameters of the Number Column not to be respected when the DecimalPlaces parameter was changed in runtime. This occurred when the MinValue and MaxValue values were exceeding the limits allowed for these parameters according to the number of DecimalPlaces (see the description of these parameters for more details).
  • ROU-4011 - Fixed an issue where the OnCellValueChange was not being triggered properly when choosing back the initial value and using parent binding.
  • ROU-3994 - Fixed an issue on the Dropdown column block where the dirty marks were appearing when the dropdown cell returned to its original value.

Release of version 2.10.0 (2022-12-19)

28 Nov 12:16
bbeff57
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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)