SUPPORT / SAMPLES & SAS NOTES
 

Support

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

DetailsHotfixAboutRate It

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

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Enterprise Case ManagementLinux for x646.3_M19.4 TS1M3
64-bit Enabled Solaris6.3_M19.4 TS1M3
64-bit Enabled AIX6.3_M19.4 TS1M3
Microsoft® Windows® for x646.3_M19.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.