Forum Discussion
FICO
3 years agoCommunity Manager
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 (...
FICO
3 years agoCommunity Manager
Hi, have you looked into using VDL Actions? https://www.fico.com/fico-xpress-optimization/docs/latest/insight5_dev_guide/GUID-7686AF9B-5CD8-4B88-98F9-9626CE651E34.html
That would be my first suggestion. It is fairly easy to string a few Actions together, triggered from a 'click' event in order to update Entity data.
Let me know if you would need a code example.
Joc
Related Content
Related Content
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...6 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum3 unread comments3 unread0Views0likes3CommentsIs 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 unread0Views0likes2CommentsAccessing Mosel array from JavaScript
Hello, I have a Mosel array: arr: array(S, T) of real and need to sum it over T for a fixed s in S - need to do this in JavaScript in VDL. How can this be done? Thank you! Miroslav5 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum2 unread comments2 unread0Views0likes2Comments