what's the best way for me to create a dynamic lis...
# suitescript
a
what's the best way for me to create a dynamic list in a SL? I was thinking about form.addSublist but sublistType parameter is throwing me off. I want to use LIST as the type but the docs state this type will have a fixed number of lines. Do I just have to re-call my suitelet each time i want to update my list?
b
you can use the 2 editor type sublists
you might also consider adding a refresh button to your list sublists
a
ok so i will have to reload the SL each time via a client script right?
when i want to change the results
b
probably not client script unless you want a very visible process
Sublist.addRefreshButton() can be used to get new contents for the sublist, but i have never found it very useful
a
thanks alot!