Solved
selection saveinto

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

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
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") }
)
}
)

Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.