Support Article
Focus shift to extreme left on click on Grid row
SA-39598
Summary
Repeating grid is configured with over 25 columns, Set focus:Current item is set on the grid.
At run time, when user moves to the right most column and click on any row, the focus moves to first column of the grid.
Ideally the focus must remain on the same column.
Error Messages
Not Applicable
Steps to Reproduce
1. Configure a repeating grid layout with 25+ columns.
2. Set focus to current item on the grid.
3. At run time, move to the right most column and click on any row, the focus moves back to the first column.
Root Cause
The grid that is configured as read only grid and when no action is specified on the individual cell ( grid properties ), the focus moves to the first element of the row explicitly.
When “Editable” is configured as edit options for the last column, then the focus remains as expected.
Resolution
Remove the setFocus from action of the Grid property panel (only for ready only grid), in that case row does not get the focus and it will move anywhere.
Published August 14, 2017 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.