Change order in DDX Form
Options
TMUKFinance
Member
in Apps
Hi,
I'm using the DDX Form and I have built the layout I require, however when entries are added to the form, they populate at the bottom of the form. Is it possible to reverse this, so the new entries in the form are at the top? What do I need to edit in the code?
Thanks!
Tagged:
0
Best Answer
-
The code is appending each record to the end. If you want to change it to add them to the beginning you need to use prepend:
$table.find('tbody').append($row);
Becomes
$table.find('tbody').prepend($row);
in the addRow function (originally around line 198)
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**0
Answers
-
The code is appending each record to the end. If you want to change it to add them to the beginning you need to use prepend:
$table.find('tbody').append($row);
Becomes
$table.find('tbody').prepend($row);
in the addRow function (originally around line 198)
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**0 -
Thanks so much!!
0
Categories
- All Categories
- 1.5K Product Ideas
- 1.5K Ideas Exchange
- 1.4K Connect
- 1.1K Connectors
- 278 Workbench
- 4 Cloud Amplifier
- 4 Federated
- 2.7K Transform
- 89 SQL DataFlows
- 561 Datasets
- 2K Magic ETL
- 3.4K Visualize
- 2.3K Charting
- 583 Beast Mode
- 13 App Studio
- 28 Variables
- 584 Automate
- 142 Apps
- 415 APIs & Domo Developer
- 26 Workflows
- 1 DomoAI
- 28 Predict
- 12 Jupyter Workspaces
- 16 R & Python Tiles
- 357 Distribute
- 96 Domo Everywhere
- 259 Scheduled Reports
- 2 Software Integrations
- 94 Manage
- 91 Governance & Security
- 9 Product Release Questions
- Community Forums
- 37 Getting Started
- 28 Community Member Introductions
- 89 Community Announcements
- 4.8K Archive