Row Selection warning when there is no SelectedKey

Introduction

In version 10.2, due to an improvement in row selection logic, all grids that have an action with row selection single or multiple must have a selected key in its related grid.

If the grid has no selected key a error message will appear. 

warning: WorkWith {ObjectName} has no selected key. Please set an attibute inside the grid as selected key or add primary key attributes to the grid with visible set to false

To fix this problem, go the "GridColumns" node:

  • If the related transaction's primary key is inside grid columns, set the "Selected key" property to true. 
  • If the related transaction's primary key is not inside grid columns, add this attribute to the grid and set the "Selected key" property to true, and "Visible" to false.