Question

3
Replies
123
Views
Terrance Krolak (TerranceK4053)
Stella

Stella
US
TerranceK4053 Member since 2018 49 posts
Stella
Posted: February 10, 2019
Last activity: March 26, 2019
Posted: 10 Feb 2019 16:44 EST
Last activity: 26 Mar 2019 10:08 EDT
Closed

AppendToPageList

Im using PRPC 8.1.2. On a grid when add item is clicked i wish to always prepend a row no matter which row has focus. I change add item to insert before. I specify an activity to call upon add item which for all intensive purposes overrides AppendToPageList. No matter how I change the code it is always for some reason inserting before the currently selected row.

Here is my code:

tools.putParamValue("strIndexInList", "1");
if(!strPageClass.equals("")) {
aPageList.add(1,tempPage);
}else {
aPageList.add(1,"");
}
How can I get it to not insert relative to the currently selected row?
User Experience
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.