Forum Discussion
FICO
6 years agoCommunity Manager
vdl-table default column sort
vdl-table is sorted ascending by the first column by default and the user can easily change this by clicking the column they want to sort by, but how can I change the default sort so all users initia...
FICO
6 years agoCommunity Manager
Thanks @Libin Varghese, I've tried implementing that but don't see the sort change. Looks like the syntax is from legacy Datatables.js (https://legacy.datatables.net/ref). I think the latest FICO Insight uses a newer Datatables.js version with the 'order' syntax rather than 'aaSorting'. Making that one change to your ascSort function worked for me.
Related Content
Related Content
How to refresh vdl-table in JavaScript after adding a new row?
I want to replace the +- button coming with the addrow-autoinc option for vdl-table because we need to perform certain value changes when a new row is added. I think I managed in my JavaScript code (...3 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum1 unread comment1 unread0Views0likes1CommentIs there a way to export a multi-scenario VDL table?
Hello, One can create a VDL table containing data from several scenarios with: <vdl-table> <vdl-table-column entity="Entity" vdl-repeat="=s,i in scenarios" scenario="=i" head...4 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum2 unread comments2 unread0Views0likes2CommentsFilter vdl-table display to nonzero rows in FICO Insight application
This FICO Xpress Optimization forum might not be the right area for this question, but I don't see a forum for FICO Insight. I have a FICO Insight application that displays a Mosel entity on the...8 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum1 unread comment1 unread0Views0likes1Comment