Question

3
Replies
112
Views
TerranceK4053 Member since 2018 45 posts
Stella
Posted: 1 year ago
Last activity: 1 year 5 months ago
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 Interface
Moderation Team has archived post
Share this page LinkedIn