Hi ,
I want to auto select a grid row on click of modify link. Currently , I have saved the row identifier in the a!save of the modify link, The row is selected automatically on click of link , but the RI that stores grid value is not populated. How to automatically populate the RI on click of modify link?
{ a!gridColumn( label: "Modify", size: "ICON", field: "edit", value: a!richTextDisplayField( value: a!richTextIcon( icon: "pencil-square-o", altText: "Edit" & fv!row.courseName, link: a!dynamicLink( label: "", value: local!link, saveInto: { a!save( local!link, "edit" ), a!save( ri!link, local!link ), a!save(local!select,fv!identifier) /* This makes the row Automatically checked on click of modify link */ } ) ) ), align: "CENTER" ), }, pagingSaveInto: fv!pagingInfo, selectable: if( isnull( local!link ), false(), true() ), selectionValue: local!select, /* Grid selection code */ selectionSaveInto: { local!select, /*This save adds the full rows of data for items*/ /*selected in the most recent user interaction*/ /*to local!selectedCourse. */ a!save( local!selectedCourse, append( local!selectedCourse, fv!selectedRows ) ), /*This save removes the full rows of data for */ /*items deselected in the most recent user*/ /*interaction to local!selectedCourse. */ a!save( local!selectedCourse, difference( local!selectedCourse, fv!deselectedRows ) ), a!save( ri!selection, local!selectedCourse ), },
Discussion posts and replies are publicly visible