Problem Note 62648: SAS® Enterprise Case Management does not retrieve the field value when you select the radio button for a row in a SelectableDataGrid
You can retrieve a value from a SelectableDataGrid in SAS Enterprise Case Management when you use the GetSelectedDataGridItem() Custom Page Builder function. With a <set-value> element within an <on-select>, you should be able to select a row or the radio button for a row to retrieve a value and populate another field. However, the GetSelectedDataGridItem() function might not work correctly when you select the radio button for a row. It might not retrieve the selected value and populate another field on the screen, as expected.
To work around the problem, select the row instead of the radio button in the SelectableDataGrid.
Click the Hot Fix tab in this note to access the hot fix for this issue.
After installing the hot fix, you can specify the following new parameter for the SelectableDataGrid component to hide the radio button for each row:
<param name="hideRadioButtons" value="true"/>
The parameter is used for a SelectableDataGrid that supports only a single selection. It is ignored for a SelectableDataGrid that supports multiple selections.
A sample usage of the new hideRadioButtons parameter is shown below:
<datagrid component-name="SelectableDataGrid" name="X_SUBJECT_RELATION_INST.X_INST_RK" selectedKeyField="X_INST_RK">
<layout-info page-size-choices="10,20,100,1000,all"/>
<datagrid-column name="X_INST_LEGAL_NM"/>
<datagrid-column name="X_INST_RK"/>
<datagrid-column name="X_INST_TIN_NO"/>
<param name="selectable" value="true"/>
<param name="selectMultiple" value="false"/>
<param name="hideRadioButtons" value="true"/>
<on-select>
<set-value name="TEMP.SSATEST" value="GetSelectedDataGridItem('X_SUBJECT_RELATION_INST.X_INST_RK', 'X_INST_RK')"/>
</on-select>
</datagrid>
<field readonly="true" align="left" displayLabelOnTop="false" escape-xml="true" hideLabel="false" name="TEMP.SSATEST" type="string" >
<label separator-visible="true">SSA Test Field</label>
</field>
Operating System and Release Information
SAS System | SAS Enterprise Case Management | Linux for x64 | 6.3_M1 | | 9.4 TS1M3 | |
64-bit Enabled Solaris | 6.3_M1 | | 9.4 TS1M3 | |
64-bit Enabled AIX | 6.3_M1 | | 9.4 TS1M3 | |
Microsoft® Windows® for x64 | 6.3_M1 | | 9.4 TS1M3 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2018-08-09 13:52:16 |
Date Created: | 2018-07-23 16:30:59 |