what mistake i have done here when ever i try to select it is not selecting once i select it is deselecting again
even i have checked with this.. this also same issue
Discussion posts and replies are publicly visible
This technique works for me. In fact I'm a little surprised I never thought of using "reverse()" before, since that seems a bit more efficient than the "length(save!value)" method I used in the past. Can you verify that your individual gridRowLayouts have valid "id" values?
a!gridLayout( headerCells: { a!gridLayoutHeaderCell(label: "label") }, selectable: true(), selectionValue: ri!selection, selectionStyle: "ROW_HIGHLIGHT", selectionSaveInto: { a!save( ri!selection, index(reverse(save!value), 1, null()) ) }, rows: { a!gridRowLayout( id: 1, contents: { a!richTextDisplayField(value: "dummy row 1") } ), a!gridRowLayout( id: 2, contents: { a!richTextDisplayField(value: "dummy row 2") } ) } )