Pressing Row Exit de-selects selected rows. How to prevent this?

Remo Williams

VIP Member
Hi List,

I’m on 8.9, SP 8.95.L1, and noticed the following:

I created a custom Headerless/Detail form. I have grid-property “Multiple Select” enabled, and I have a row exit that has option “Repeat for grid” enabled.

I select one or more rows using the the ctrl button and then I press the row exit. The logic of the row exit is executed for the selected rows. So far so good.

However, I noticed that on the FAT client, all rows become deselected afterwards. And on the WEB, all rows except the last one become deselected. Is this standard system behaviour? Is there a way to let the rows remain selected when the Row Exit is pressed?

In an effort to fix this, I noticed that there is a system function called “Change Row Selection” (never noticed it before). I added the following call at the end of the Row Exit – Button Clicked logic as follows:

Change Row Selection(FC Grid, <Currently Selected Row>, <Selected (1)>)

I figured this might re-select the grid row, but it didn’t work. Anyone ever used this function?

Thanx in advance.
 
Back
Top