Hi ,Is it possible to merge cells in country threat column based on the reference of country column?
Hi @KATHIRESAN MARKANDAN ,Have you gone thought this document -https://outsystemsui.outsystems.com/OutSystemsDataGridSample/GroupColumn
Hi @Rahul I went through it, but it is not related to this scenario.
Hi @KATHIRESAN MARKANDAN
For achieving this scenario use the Data Grid's built-in row grouping feature. The grid supports a Group Panel where users can drag a column and group rows by that column.
Steps:
1 Select your Data Grid.
2 Set HasGroupPanel = True.
3 Publish the application.
Run the screen and drag the source column (for example, Country) into the grouping area.
The grid will automatically group rows according to that column's values.
Hi @KATHIRESAN MARKANDAN ,
You can achieve this with a custom Wijmo MergeManager. Wijmo calls this restricted merging.
The standard MergeColumnCells action merges cells based only on their own value.
You can use the following JS in the OnInitialize event of the grid, you will need the GridWidgetId and column IDs of your Country & Country Threat columns. In order to get those IDs you can name the columns and then use the IDs from the Widget folder.
I attached a sample OML with the implementation.
Result: