Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
Suitelet list (nlapiCreateList) sorting
I have a suitelet where I am creating a complex list using nlapiCreateList, list.addColumn, and list.addRows. For "normal" lists (ie searches), clicking on a column header sorts the list, but for my suitelet list, the column headers do not sort the list.
I tried creating a simple list from a sample in the help center, but it did not have sorting enabled either. (https://system.sandbox.netsuite.com/help/helpcenter/en_US/Output/Help/SuiteFlex/SuiteScript/SSScriptTypes_CreateaSimpleList.html?NS_VER=2010.1.0)
How can I enable sorting on a suitelet list?
0