At first, We have an uneditable sublist to allow users to sort the order.
After submitting it, the Suitelet got the last page's sublist object and rewrites the sublist as an editable one this time.
BUT, the sorted order ignores after the rewrite.
How can we carry over the sublist sorted order to the next page?
Currently, the way to write the editable sublist goes like this in my script.
//IN FOR LOOP FROM 0 to the sublist length
var fieldResult = context.request.getSublistValue({
group: "custpage_sw_sublist",
name: columnsList[k].name,
line: i, //for loop
})
Best Regards,